*%-------------------------------------------------------------------------
*% GPD File Name and version number
*%-------------------------------------------------------------------------
*GPDFileName: "hpw12003.gpd"
*GPDSpecVersion: "1.0"
*GPDFileVersion: "053.2507"

*%-------------------------------------------------------------------------
*% GPD files to include.
*%-------------------------------------------------------------------------
*Include: "hpz3mwn7.gpd"
*Include: "hpzsmwn7.gpd"

*%-------------------------------------------------------------------------
*% Print rate metrics
*%-------------------------------------------------------------------------
*%PrintRate: 22
*%PrintRateUnit: PPM
*%PrintRatePPM:22
*%-------------------------------------------------------------------------

*%%
*%% Macros
*%% collection of the macros common to all modes for this product
*%%

*Macros: OEMCommonCombinations
{
        OEM_COMMON_INFO:
+   "HTPD<00 00 00 04 0F 00 00 00>"
+   =OEM_RM_STINGRAY
+   "PTYP<00 00 00 04>AMCP"
+   "PCMG<00 00 00 04 96 00 00 00>"
+   "DUPL<00 00 00 04 00 00 00 00>"
+   "Q000<0000000A>Export_Q_F"
+   "W000<0000000A>Export_W_B"
+   "R000<0000000A>Export_R_A"
+   "P000<0000000A>Export_R_B"
+   "E000<0000000A>Export_E_A"
+   "T000<0000000A>Export_T_A"
+   "T001<0000000A>Export_T_B"
+   "T002<0000000A>Export_T_C"
+   "T003<0000000A>Export_T_E"
+   "T004<0000000A>Export_T_F"
+   "T005<0000000A>Export_T_G"
+   "T006<0000000A>Export_T_H"
+   "T007<0000000A>Export_T_A"
+   "Y000<0000000A>Export_Y_A"
+   "Y001<0000000A>Export_Y_D"
+   "U000<0000000A>Export_U_A"
+   "U001<0000000A>Export_U_B"
}

*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*% Block Macros for defining print mode OEM Data and PCL commands
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Automatic, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_Automatic_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_AUTOMATIC =PCL_IDX_AUTOMATIC
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Automatic, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_Automatic_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_AUTOMATIC =PCL_IDX_AUTOMATIC
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Automatic, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_Automatic_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_AUTOMATIC =PCL_IDX_AUTOMATIC
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Automatic, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_Automatic_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_AUTOMATIC =PCL_IDX_AUTOMATIC
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Automatic, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_Automatic_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_AUTOMATIC =OEM_HPA_RM_MEDIA_HP_AUTOMATIC
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_42670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Automatic, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_Automatic_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_AUTOMATIC =OEM_HPA_RM_MEDIA_HP_AUTOMATIC
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Automatic, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_Automatic_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_AUTOMATIC =OEM_HPA_RM_MEDIA_HP_AUTOMATIC
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_ENABLE =OEM_CS_REDUCED_K_CHANNEL_MAX_LINE_WIDTH_12
+   =OEM_CS_REDUCED_K_CHANNEL_MAX_FONT_SIZE_24
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Automatic, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_Automatic_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_AUTOMATIC =OEM_HPA_RM_MEDIA_HP_AUTOMATIC
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [Automatic]
*%===========================================================================

*BlockMacro: MediaType_Automatic
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_Automatic_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_Automatic_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_Automatic_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_Automatic_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_Automatic_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_Automatic_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_Automatic_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_Automatic_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Banner Paper, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBannerPaper_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_HP_BANNER
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Banner Paper, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBannerPaper_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_HP_BANNER
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Banner Paper, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBannerPaper_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_HP_BANNER
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Banner Paper, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBannerPaper_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_HP_BANNER
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Banner Paper, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBannerPaper_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Banner Paper, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBannerPaper_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Banner Paper, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBannerPaper_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Banner Paper, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBannerPaper_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Banner Paper]
*%===========================================================================

*BlockMacro: MediaType_HPBannerPaper
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPBannerPaper_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPBannerPaper_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPBannerPaper_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPBannerPaper_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPBannerPaper_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPBannerPaper_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPBannerPaper_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPBannerPaper_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Bright White Paper, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBrightWhitePaper_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_BRIGHT_WHITE_INKJET
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Bright White Paper, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBrightWhitePaper_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_BRIGHT_WHITE_INKJET
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Bright White Paper, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBrightWhitePaper_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_BRIGHT_WHITE_INKJET
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Bright White Paper, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBrightWhitePaper_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_BRIGHT_WHITE_INKJET
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Bright White Paper, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBrightWhitePaper_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Bright White Paper, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBrightWhitePaper_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Bright White Paper, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBrightWhitePaper_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Bright White Paper, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBrightWhitePaper_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Bright White Paper]
*%===========================================================================

*BlockMacro: MediaType_HPBrightWhitePaper
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPBrightWhitePaper_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPBrightWhitePaper_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPBrightWhitePaper_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPBrightWhitePaper_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPBrightWhitePaper_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPBrightWhitePaper_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPBrightWhitePaper_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPBrightWhitePaper_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Brochure and Flyer Glossy, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_BROCHURE_GLOSSY =PCL_IDX_HP_BROCHURE_GLOSSY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Brochure and Flyer Glossy, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_BROCHURE_GLOSSY =PCL_IDX_HP_BROCHURE_GLOSSY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Brochure and Flyer Glossy, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_BROCHURE_GLOSSY =PCL_IDX_HP_BROCHURE_GLOSSY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Brochure and Flyer Glossy, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_BROCHURE_GLOSSY =PCL_IDX_HP_BROCHURE_GLOSSY
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Brochure and Flyer Glossy, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_COSMO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Brochure and Flyer Glossy, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_COSMO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Brochure and Flyer Glossy, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_COSMO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Brochure and Flyer Glossy, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_COSMO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Brochure and Flyer Glossy]
*%===========================================================================

*BlockMacro: MediaType_HPBrochureAndFlyerGlossy
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPBrochureAndFlyerGlossy_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Brochure and Flyer Matte, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_BROCHURE_MATTE
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Brochure and Flyer Matte, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_BROCHURE_MATTE
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Brochure and Flyer Matte, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_BROCHURE_MATTE
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Brochure and Flyer Matte, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_BROCHURE_MATTE
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Brochure and Flyer Matte, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Brochure and Flyer Matte, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Brochure and Flyer Matte, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Brochure and Flyer Matte, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Brochure and Flyer Matte]
*%===========================================================================

*BlockMacro: MediaType_HPBrochureAndFlyerMatte
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPBrochureAndFlyerMatte_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Colorfast Photo Paper Glossy, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_COLORFAST_PHOTO_GLOSSY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Colorfast Photo Paper Glossy, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_COLORFAST_PHOTO_GLOSSY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Colorfast Photo Paper Glossy, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_COLORFAST_PHOTO_GLOSSY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Colorfast Photo Paper Glossy, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_COLORFAST_PHOTO_GLOSSY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Colorfast Photo Paper Glossy, HighResMode]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_HighResMode
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_1200LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_COLORFAST_PHOTO_GLOSSY
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Colorfast Photo Paper Glossy, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Colorfast Photo Paper Glossy, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Colorfast Photo Paper Glossy, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Colorfast Photo Paper Glossy, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Colorfast Photo Paper Glossy, HighResMode]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_HighResMode
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC12122 =OEM_PQ_HIGH_RES =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_1200 =OEM_BFP_HALFTONE_BLACKVERTRES_1200
+   =OEM_BFP_HALFTONE_COLORHORZRES_1200 =OEM_BFP_HALFTONE_COLORVERTRES_1200
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}
*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Colorfast Photo Paper Glossy]
*%===========================================================================

*BlockMacro: MediaType_HPColorfastPhotoPaperGlossy
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_Best
        }
        *case: HighResMode
        {
            *InsertBlock: =CMD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_HighResMode
            *InsertBlock: =OCD_MediaType_HPColorfastPhotoPaperGlossy_PrintQuality_HighResMode
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Everyday Photo Paper Matte, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_EVERYDAY_PHOTO_MATTE
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Everyday Photo Paper Matte, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_EVERYDAY_PHOTO_MATTE
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Everyday Photo Paper Matte, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_EVERYDAY_PHOTO_MATTE
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Everyday Photo Paper Matte, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_EVERYDAY_PHOTO_MATTE
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Everyday Photo Paper Matte, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Everyday Photo Paper Matte, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Everyday Photo Paper Matte, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Everyday Photo Paper Matte, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Everyday Photo Paper Matte]
*%===========================================================================

*BlockMacro: MediaType_HPEverydayPhotoPaperMatte
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPEverydayPhotoPaperMatte_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Everyday Photo Paper Semi-Gloss, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_BROCHURE_GLOSSY =PCL_IDX_EVERYDAY_PHOTO_GLOSS
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Everyday Photo Paper Semi-Gloss, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_BROCHURE_GLOSSY =PCL_IDX_EVERYDAY_PHOTO_GLOSS
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Everyday Photo Paper Semi-Gloss, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_BROCHURE_GLOSSY =PCL_IDX_EVERYDAY_PHOTO_GLOSS
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Everyday Photo Paper Semi-Gloss, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_BROCHURE_GLOSSY =PCL_IDX_EVERYDAY_PHOTO_GLOSS
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Everyday Photo Paper Semi-Gloss, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_COSMO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Everyday Photo Paper Semi-Gloss, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_COSMO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Everyday Photo Paper Semi-Gloss, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_COSMO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Everyday Photo Paper Semi-Gloss, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_COSMO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Everyday Photo Paper Semi-Gloss]
*%===========================================================================

*BlockMacro: MediaType_HPEverydayPhotoPaperSemiGloss
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPEverydayPhotoPaperSemiGloss_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Iron-On Transfer, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPIronOnTransfer_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_IRON_ON
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Iron-On Transfer, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPIronOnTransfer_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_IRON_ON
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Iron-On Transfer, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPIronOnTransfer_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_IRON_ON
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Iron-On Transfer, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPIronOnTransfer_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_IRON_ON
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Iron-On Transfer, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPIronOnTransfer_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Iron-On Transfer, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPIronOnTransfer_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Iron-On Transfer, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPIronOnTransfer_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Iron-On Transfer, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPIronOnTransfer_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Iron-On Transfer]
*%===========================================================================

*BlockMacro: MediaType_HPIronOnTransfer
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPIronOnTransfer_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPIronOnTransfer_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPIronOnTransfer_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPIronOnTransfer_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPIronOnTransfer_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPIronOnTransfer_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPIronOnTransfer_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPIronOnTransfer_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Labels Glossy, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPLabelsGlossy_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_LABELS_GLOSSY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Labels Glossy, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPLabelsGlossy_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_LABELS_GLOSSY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Labels Glossy, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPLabelsGlossy_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_LABELS_GLOSSY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Labels Glossy, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPLabelsGlossy_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_LABELS_GLOSSY
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Labels Glossy, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPLabelsGlossy_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Labels Glossy, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPLabelsGlossy_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Labels Glossy, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPLabelsGlossy_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Labels Glossy, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPLabelsGlossy_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Labels, Glossy]
*%===========================================================================

*BlockMacro: MediaType_HPLabelsGlossy
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPLabelsGlossy_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPLabelsGlossy_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPLabelsGlossy_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPLabelsGlossy_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPLabelsGlossy_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPLabelsGlossy_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPLabelsGlossy_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPLabelsGlossy_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Labels Matte, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPLabelsMatte_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_LABELS
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Labels Matte, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPLabelsMatte_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_LABELS
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Labels Matte, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPLabelsMatte_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_LABELS_MATTE
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Labels Matte, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPLabelsMatte_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_LABELS_MATTE
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Labels Matte, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPLabelsMatte_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Labels Matte, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPLabelsMatte_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Labels Matte, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPLabelsMatte_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Labels Matte, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPLabelsMatte_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Labels, Matte]
*%===========================================================================

*BlockMacro: MediaType_HPLabelsMatte
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPLabelsMatte_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPLabelsMatte_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPLabelsMatte_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPLabelsMatte_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPLabelsMatte_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPLabelsMatte_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPLabelsMatte_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPLabelsMatte_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Linen Greeting Cards, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPLinenGreetingCards_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_LINEN_GREETING_CARD
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Linen Greeting Cards, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPLinenGreetingCards_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_LINEN_GREETING_CARD
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Linen Greeting Cards, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPLinenGreetingCards_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_LINEN_GREETING_CARD
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Linen Greeting Cards, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPLinenGreetingCards_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_LINEN_GREETING_CARD
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Linen Greeting Cards, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPLinenGreetingCards_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Linen Greeting Cards, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPLinenGreetingCards_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Linen Greeting Cards, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPLinenGreetingCards_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Linen Greeting Cards, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPLinenGreetingCards_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Linen Greeting Cards]
*%===========================================================================

*BlockMacro: MediaType_HPLinenGreetingCards
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPLinenGreetingCards_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPLinenGreetingCards_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPLinenGreetingCards_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPLinenGreetingCards_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPLinenGreetingCards_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPLinenGreetingCards_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPLinenGreetingCards_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPLinenGreetingCards_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Matte Greeting Cards, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPMatteGreetingCards_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_GREETING_CARD
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Matte Greeting Cards, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPMatteGreetingCards_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_GREETING_CARD
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Matte Greeting Cards, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPMatteGreetingCards_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_GREETING_CARD
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Matte Greeting Cards, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPMatteGreetingCards_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_GREETING_CARD
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Matte Greeting Cards, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPMatteGreetingCards_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Matte Greeting Cards, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPMatteGreetingCards_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Matte Greeting Cards, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPMatteGreetingCards_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Matte Greeting Cards, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPMatteGreetingCards_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Matte Greeting Cards]
*%===========================================================================

*BlockMacro: MediaType_HPMatteGreetingCards
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPMatteGreetingCards_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPMatteGreetingCards_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPMatteGreetingCards_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPMatteGreetingCards_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPMatteGreetingCards_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPMatteGreetingCards_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPMatteGreetingCards_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPMatteGreetingCards_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo and Project Paper, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoAndProjectPaper_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_PHOTO_AND_PROJECT
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo and Project Paper, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoAndProjectPaper_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_PHOTO_AND_PROJECT
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo and Project Paper, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoAndProjectPaper_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_PHOTO_AND_PROJECT
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo and Project Paper, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoAndProjectPaper_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_PHOTO_AND_PROJECT
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo and Project Paper, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoAndProjectPaper_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GRAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo and Project Paper, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoAndProjectPaper_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GRAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo and Project Paper, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoAndProjectPaper_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GRAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo and Project Paper, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoAndProjectPaper_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GRAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Photo and Project Paper]
*%===========================================================================

*BlockMacro: MediaType_HPPhotoAndProjectPaper
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPPhotoAndProjectPaper_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPPhotoAndProjectPaper_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPPhotoAndProjectPaper_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPPhotoAndProjectPaper_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPPhotoAndProjectPaper_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPPhotoAndProjectPaper_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPPhotoAndProjectPaper_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPPhotoAndProjectPaper_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo Greeting Cards, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoGreetingCards_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_GLOSSY_GREETING_CARD
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo Greeting Cards, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoGreetingCards_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_GLOSSY_GREETING_CARD
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo Greeting Cards, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoGreetingCards_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_GLOSSY_GREETING_CARD
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo Greeting Cards, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoGreetingCards_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_GLOSSY_GREETING_CARD
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo Greeting Cards, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoGreetingCards_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo Greeting Cards, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoGreetingCards_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo Greeting Cards, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoGreetingCards_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo Greeting Cards, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoGreetingCards_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Photo Greeting Cards]
*%===========================================================================

*BlockMacro: MediaType_HPPhotoGreetingCards
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPPhotoGreetingCards_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPPhotoGreetingCards_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPPhotoGreetingCards_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPPhotoGreetingCards_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPPhotoGreetingCards_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPPhotoGreetingCards_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPPhotoGreetingCards_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPPhotoGreetingCards_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo Paper Glossy, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoPaperGlossy_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo Paper Glossy, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoPaperGlossy_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo Paper Glossy, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoPaperGlossy_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo Paper Glossy, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoPaperGlossy_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Photo Paper Glossy, HighResMode]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPhotoPaperGlossy_PrintQuality_HighResMode
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_1200LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_HP_PHOTO
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo Paper Glossy, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoPaperGlossy_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo Paper Glossy, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoPaperGlossy_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo Paper Glossy, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoPaperGlossy_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo Paper Glossy, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoPaperGlossy_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Photo Paper Glossy, HighResMode]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPhotoPaperGlossy_PrintQuality_HighResMode
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC12122 =OEM_PQ_HIGH_RES =OEM_PCL_MEDIA_FAST_GLOSSY =OEM_HPA_RM_MEDIA_HP_CABO
+   =OEM_BFP_HALFTONE_BLACKHORZRES_1200 =OEM_BFP_HALFTONE_BLACKVERTRES_1200
+   =OEM_BFP_HALFTONE_COLORHORZRES_1200 =OEM_BFP_HALFTONE_COLORVERTRES_1200
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Photo Paper Glossy]
*%===========================================================================

*BlockMacro: MediaType_HPPhotoPaperGlossy
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPPhotoPaperGlossy_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPPhotoPaperGlossy_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPPhotoPaperGlossy_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPPhotoPaperGlossy_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPPhotoPaperGlossy_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPPhotoPaperGlossy_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPPhotoPaperGlossy_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPPhotoPaperGlossy_PrintQuality_Best
        }
        *case: HighResMode
        {
            *InsertBlock: =CMD_MediaType_HPPhotoPaperGlossy_PrintQuality_HighResMode
            *InsertBlock: =OCD_MediaType_HPPhotoPaperGlossy_PrintQuality_HighResMode
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Inkjet Heavyweight Paper, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_PREMIUM_INKJET_HWT
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Inkjet Heavyweight Paper, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_PREMIUM_INKJET_HWT
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Inkjet Heavyweight Paper, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_PREMIUM_INKJET_HWT
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Inkjet Heavyweight Paper, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_PREMIUM_INKJET_HWT
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Inkjet Heavyweight Paper, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Inkjet Heavyweight Paper, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Inkjet Heavyweight Paper, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Inkjet Heavyweight Paper, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Premium Inkjet Heavyweight Paper]
*%===========================================================================

*BlockMacro: MediaType_HPPremiumInkjetHeavyweightPaper
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPPremiumInkjetHeavyweightPaper_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Inkjet Transparency Film, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_TRANSPARENCY =PCL_IDX_PREMIUM_TRANSPARENCY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Inkjet Transparency Film, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_TRANSPARENCY =PCL_IDX_PREMIUM_TRANSPARENCY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Inkjet Transparency Film, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_TRANSPARENCY =PCL_IDX_PREMIUM_TRANSPARENCY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Inkjet Transparency Film, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_TRANSPARENCY =PCL_IDX_PREMIUM_TRANSPARENCY
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Inkjet Transparency Film, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_TRANSPARENCY =OEM_HPA_RM_MEDIA_HP_SCOTTY
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Inkjet Transparency Film, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_TRANSPARENCY =OEM_HPA_RM_MEDIA_HP_SCOTTY
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Inkjet Transparency Film, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_TRANSPARENCY =OEM_HPA_RM_MEDIA_HP_SCOTTY
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Inkjet Transparency Film, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_TRANSPARENCY =OEM_HPA_RM_MEDIA_HP_SCOTTY
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Premium Inkjet Transparency Film]
*%===========================================================================

*BlockMacro: MediaType_HPPremiumInkjetTransparencyFilm
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPPremiumInkjetTransparencyFilm_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Paper, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPaper_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_PREMIUM_INKJET
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Paper, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPaper_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_PREMIUM_INKJET
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Paper, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPaper_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_PREMIUM_INKJET
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Paper, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPaper_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_PREMIUM_INKJET
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Paper, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPaper_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Paper, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPaper_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Paper, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPaper_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Paper, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPaper_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Premium Paper]
*%===========================================================================

*BlockMacro: MediaType_HPPremiumPaper
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPaper_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPPremiumPaper_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPaper_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPPremiumPaper_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPaper_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPPremiumPaper_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPaper_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPPremiumPaper_PrintQuality_Best
        }
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Photo Paper, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPhotoPaper_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_PREMIUM_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Photo Paper, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPhotoPaper_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_PREMIUM_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Photo Paper, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPhotoPaper_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_PREMIUM_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Photo Paper, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPhotoPaper_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_PREMIUM_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Photo Paper, HighResMode]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPhotoPaper_PrintQuality_HighResMode
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_1200LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_PREMIUM_PHOTO
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Photo Paper, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPhotoPaper_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Photo Paper, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPhotoPaper_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Photo Paper, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPhotoPaper_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Photo Paper, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPhotoPaper_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Photo Paper, HighResMode]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPhotoPaper_PrintQuality_HighResMode
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC12122 =OEM_PQ_HIGH_RES =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_1200 =OEM_BFP_HALFTONE_BLACKVERTRES_1200
+   =OEM_BFP_HALFTONE_COLORHORZRES_1200 =OEM_BFP_HALFTONE_COLORVERTRES_1200
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Premium Photo Paper]
*%===========================================================================

*BlockMacro: MediaType_HPPremiumPhotoPaper
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPhotoPaper_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPPremiumPhotoPaper_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPhotoPaper_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPPremiumPhotoPaper_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPhotoPaper_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPPremiumPhotoPaper_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPhotoPaper_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPPremiumPhotoPaper_PrintQuality_Best
        }
        *case: HighResMode
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPhotoPaper_PrintQuality_HighResMode
            *InsertBlock: =OCD_MediaType_HPPremiumPhotoPaper_PrintQuality_HighResMode
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Plus Inkjet Transparency Film, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_FAST_TRANSP =PCL_IDX_PREMIUM_PLUS_TRANSPARENCY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Plus Inkjet Transparency Film, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_FAST_TRANSP =PCL_IDX_PREMIUM_PLUS_TRANSPARENCY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Plus Inkjet Transparency Film, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_FAST_TRANSP =PCL_IDX_PREMIUM_PLUS_TRANSPARENCY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Plus Inkjet Transparency Film, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_FAST_TRANSP =PCL_IDX_PREMIUM_PLUS_TRANSPARENCY
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Plus Inkjet Transparency Film, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_FAST_TRANSP =OEM_HPA_RM_MEDIA_HP_SCOTTY
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Plus Inkjet Transparency Film, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_FAST_TRANSP =OEM_HPA_RM_MEDIA_HP_SCOTTY
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Plus Inkjet Transparency Film, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_FAST_TRANSP =OEM_HPA_RM_MEDIA_HP_SCOTTY
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Plus Inkjet Transparency Film, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_FAST_TRANSP =OEM_HPA_RM_MEDIA_HP_SCOTTY
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Premium Plus Inkjet Transparency Film]
*%===========================================================================

*BlockMacro: MediaType_HPPremiumPlusInkjetTransparencyFilm
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPPremiumPlusInkjetTransparencyFilm_PrintQuality_Best
        }
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Plus Photo Paper, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_PREMIUM_PLUS_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Plus Photo Paper, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_PREMIUM_PLUS_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Plus Photo Paper, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_PREMIUM_PLUS_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Plus Photo Paper, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_PREMIUM_PLUS_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Plus Photo Paper, HighResMode]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_HighResMode
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_1200LETTER
+       =PCL_MEDIA_GLOSSY =PCL_IDX_PREMIUM_PLUS_PHOTO
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Plus Photo Paper, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Plus Photo Paper, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Plus Photo Paper, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Plus Photo Paper, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Plus Photo Paper, HighResMode]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_HighResMode
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC12122 =OEM_PQ_HIGH_RES =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_1200 =OEM_BFP_HALFTONE_BLACKVERTRES_1200
+   =OEM_BFP_HALFTONE_COLORHORZRES_1200 =OEM_BFP_HALFTONE_COLORVERTRES_1200
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Premium Plus Photo Paper]
*%===========================================================================

*BlockMacro: MediaType_HPPremiumPlusPhotoPaper
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_Best
        }
        *case: HighResMode
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_HighResMode
            *InsertBlock: =OCD_MediaType_HPPremiumPlusPhotoPaper_PrintQuality_HighResMode
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Presentation Paper, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPresentationPaper_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_PREMIUM_PRESENTATION_NEW
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Presentation Paper, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPresentationPaper_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_PREMIUM_PRESENTATION_NEW
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Presentation Paper, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPresentationPaper_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_PREMIUM_PRESENTATION_NEW
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Premium Presentation Paper, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPPremiumPresentationPaper_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_PREMIUM_PRESENTATION_NEW
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Presentation Paper, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPresentationPaper_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Presentation Paper, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPresentationPaper_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Presentation Paper, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPresentationPaper_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Premium Presentation Paper, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPPremiumPresentationPaper_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Premium Presentation Paper]
*%===========================================================================

*BlockMacro: MediaType_HPPremiumPresentationPaper
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPresentationPaper_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPPremiumPresentationPaper_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPresentationPaper_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPPremiumPresentationPaper_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPresentationPaper_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPPremiumPresentationPaper_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPPremiumPresentationPaper_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPPremiumPresentationPaper_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Textured Greeting Cards, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPTexturedGreetingCards_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_TEXTURED_GREETING_CARDS
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Textured Greeting Cards, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPTexturedGreetingCards_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_TEXTURED_GREETING_CARDS
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Textured Greeting Cards, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPTexturedGreetingCards_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_TEXTURED_GREETING_CARDS
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [HP Textured Greeting Cards, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_HPTexturedGreetingCards_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_HP_TEXTURED_GREETING_CARDS
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Textured Greeting Cards, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPTexturedGreetingCards_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Textured Greeting Cards, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPTexturedGreetingCards_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Textured Greeting Cards, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPTexturedGreetingCards_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [HP Textured Greeting Cards, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_HPTexturedGreetingCards_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [HP Textured Greeting Cards]
*%===========================================================================

*BlockMacro: MediaType_HPTexturedGreetingCards
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_HPTexturedGreetingCards_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_HPTexturedGreetingCards_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_HPTexturedGreetingCards_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_HPTexturedGreetingCards_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_HPTexturedGreetingCards_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_HPTexturedGreetingCards_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_HPTexturedGreetingCards_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_HPTexturedGreetingCards_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Brochure Papers, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherBrochurePapers_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_OTHER_BROCHURE
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Brochure Papers, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherBrochurePapers_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_OTHER_BROCHURE
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Brochure Papers, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherBrochurePapers_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_OTHER_BROCHURE
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Brochure Papers, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherBrochurePapers_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_OTHER_BROCHURE
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Brochure Papers, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherBrochurePapers_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Brochure Papers, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherBrochurePapers_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Brochure Papers, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherBrochurePapers_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Brochure Papers, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherBrochurePapers_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [Other Brochure Papers]
*%===========================================================================

*BlockMacro: MediaType_OtherBrochurePapers
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_OtherBrochurePapers_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_OtherBrochurePapers_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_OtherBrochurePapers_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_OtherBrochurePapers_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_OtherBrochurePapers_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_OtherBrochurePapers_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_OtherBrochurePapers_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_OtherBrochurePapers_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Greeting Cards, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherGreetingCards_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_OTHER_GREETING_CARDS
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Greeting Cards, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherGreetingCards_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_OTHER_GREETING_CARDS
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Greeting Cards, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherGreetingCards_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_OTHER_GREETING_CARDS
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Greeting Cards, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherGreetingCards_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_OTHER_GREETING_CARDS
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Greeting Cards, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherGreetingCards_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Greeting Cards, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherGreetingCards_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Greeting Cards, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherGreetingCards_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Greeting Cards, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherGreetingCards_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [Other Greeting Cards]
*%===========================================================================

*BlockMacro: MediaType_OtherGreetingCards
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_OtherGreetingCards_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_OtherGreetingCards_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_OtherGreetingCards_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_OtherGreetingCards_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_OtherGreetingCards_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_OtherGreetingCards_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_OtherGreetingCards_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_OtherGreetingCards_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Inkjet Papers, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherInkjetPapers_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_OTHER_INKJET
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Inkjet Papers, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherInkjetPapers_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_OTHER_INKJET
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Inkjet Papers, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherInkjetPapers_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_OTHER_INKJET
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Inkjet Papers, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherInkjetPapers_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_SPECIAL =PCL_IDX_OTHER_INKJET
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Inkjet Papers, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherInkjetPapers_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Inkjet Papers, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherInkjetPapers_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Inkjet Papers, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherInkjetPapers_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Inkjet Papers, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherInkjetPapers_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_SPECIAL =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [Other Inkjet Papers]
*%===========================================================================

*BlockMacro: MediaType_OtherInkjetPapers
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_OtherInkjetPapers_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_OtherInkjetPapers_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_OtherInkjetPapers_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_OtherInkjetPapers_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_OtherInkjetPapers_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_OtherInkjetPapers_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_OtherInkjetPapers_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_OtherInkjetPapers_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Photo Papers, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherPhotoPapers_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_FAST_GLOSSY =PCL_IDX_OTHER_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Photo Papers, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherPhotoPapers_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_FAST_GLOSSY =PCL_IDX_OTHER_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Photo Papers, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherPhotoPapers_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_FAST_GLOSSY =PCL_IDX_OTHER_PHOTO
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Photo Papers, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherPhotoPapers_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_FAST_GLOSSY =PCL_IDX_OTHER_PHOTO
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Photo Papers, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherPhotoPapers_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Photo Papers, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherPhotoPapers_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Photo Papers, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherPhotoPapers_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Photo Papers, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherPhotoPapers_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_GLOSSY =OEM_HPA_RM_MEDIA_HP_GOSSIMER
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_DISABLE =OEM_BFP_SEPARATEBLACK_DISABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [Other Photo Papers]
*%===========================================================================

*BlockMacro: MediaType_OtherPhotoPapers
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_OtherPhotoPapers_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_OtherPhotoPapers_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_OtherPhotoPapers_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_OtherPhotoPapers_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_OtherPhotoPapers_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_OtherPhotoPapers_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_OtherPhotoPapers_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_OtherPhotoPapers_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Specialty Papers, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherSpecialtyPapers_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_OTHER_SPECIALTY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Specialty Papers, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherSpecialtyPapers_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_OTHER_SPECIALTY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Specialty Papers, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherSpecialtyPapers_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_OTHER_SPECIALTY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Specialty Papers, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherSpecialtyPapers_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_OTHER_SPECIALTY
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Specialty Papers, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherSpecialtyPapers_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Specialty Papers, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherSpecialtyPapers_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Specialty Papers, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherSpecialtyPapers_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Specialty Papers, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherSpecialtyPapers_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_VAIL
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [Other Specialty Papers]
*%===========================================================================

*BlockMacro: MediaType_OtherSpecialtyPapers
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_OtherSpecialtyPapers_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_OtherSpecialtyPapers_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_OtherSpecialtyPapers_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_OtherSpecialtyPapers_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_OtherSpecialtyPapers_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_OtherSpecialtyPapers_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_OtherSpecialtyPapers_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_OtherSpecialtyPapers_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Transparency Films, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherTransparencyFilms_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_TRANSPARENCY =PCL_IDX_OTHER_TRANSPARENCY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Transparency Films, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherTransparencyFilms_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_TRANSPARENCY =PCL_IDX_OTHER_TRANSPARENCY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Transparency Films, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherTransparencyFilms_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_TRANSPARENCY =PCL_IDX_OTHER_TRANSPARENCY
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Other Transparency Films, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_OtherTransparencyFilms_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_TRANSPARENCY =PCL_IDX_OTHER_TRANSPARENCY
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Transparency Films, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherTransparencyFilms_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_TRANSPARENCY =OEM_HPA_RM_MEDIA_HP_SCOTTY
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Transparency Films, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherTransparencyFilms_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_TRANSPARENCY =OEM_HPA_RM_MEDIA_HP_SCOTTY
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Transparency Films, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherTransparencyFilms_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_TRANSPARENCY =OEM_HPA_RM_MEDIA_HP_SCOTTY
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Other Transparency Films, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_OtherTransparencyFilms_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_TRANSPARENCY =OEM_HPA_RM_MEDIA_HP_SCOTTY
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [Other Transparency Films]
*%===========================================================================

*BlockMacro: MediaType_OtherTransparencyFilms
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_OtherTransparencyFilms_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_OtherTransparencyFilms_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_OtherTransparencyFilms_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_OtherTransparencyFilms_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_OtherTransparencyFilms_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_OtherTransparencyFilms_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_OtherTransparencyFilms_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_OtherTransparencyFilms_PrintQuality_Best
        }
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Plain Paper, Draft]
*%===========================================================================

*BlockMacro: CMD_MediaType_PlainPaper_PrintQuality_Draft
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_PLAIN
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Plain Paper, FastNormal]
*%===========================================================================

*BlockMacro: CMD_MediaType_PlainPaper_PrintQuality_FastNormal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_PLAIN
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Plain Paper, Normal]
*%===========================================================================

*BlockMacro: CMD_MediaType_PlainPaper_PrintQuality_Normal
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_300LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_PLAIN
    }
}


*%===========================================================================
*% [MediaType, PrintQuality] Command -- [Plain Paper, Best]
*%===========================================================================

*BlockMacro: CMD_MediaType_PlainPaper_PrintQuality_Best
{
    *Command: CmdSelect
    {
        *Order: PAGE_SETUP.5
        *Cmd: =PCL_RASWIDTH_600LETTER
+       =PCL_MEDIA_PLAIN =PCL_IDX_PLAIN
    }
}

*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Plain Paper, Draft]
*%===========================================================================

*BlockMacro: OCD_MediaType_PlainPaper_PrintQuality_Draft
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_ECONO =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_42670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_0
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Plain Paper, FastNormal]
*%===========================================================================

*BlockMacro: OCD_MediaType_PlainPaper_PrintQuality_FastNormal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332 =OEM_PQ_FAST_NORMAL =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_300 =OEM_BFP_HALFTONE_BLACKVERTRES_300
+   =OEM_BFP_HALFTONE_COLORHORZRES_300 =OEM_BFP_HALFTONE_COLORVERTRES_300
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_21330 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_0
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Plain Paper, Normal]
*%===========================================================================

*BlockMacro: OCD_MediaType_PlainPaper_PrintQuality_Normal
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_NORMAL =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_10670 =OEM_HPAFLT_COMPRESSION_INTERCEPT_0
+   =OEM_IE_FLAGS_64
}


*%===========================================================================
*% [MediaType, PrintQuality] OEMCustomData -- [Plain Paper, Best]
*%===========================================================================

*BlockMacro: OCD_MediaType_PlainPaper_PrintQuality_Best
{
    EXTERN_GLOBAL: *OEMCustomData:
+   =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662 =OEM_PQ_BEST =OEM_PCL_MEDIA_PLAIN =OEM_HPA_RM_MEDIA_HP_PLAIN
+   =OEM_BFP_HALFTONE_BLACKHORZRES_600 =OEM_BFP_HALFTONE_BLACKVERTRES_600
+   =OEM_BFP_HALFTONE_COLORHORZRES_600 =OEM_BFP_HALFTONE_COLORVERTRES_600
+   =OEM_BFP_BLACKEXTRACT_ENABLE =OEM_BFP_SEPARATEBLACK_ENABLE
+   =OEM_CS_REDUCED_K_CHANNEL_DISABLE
+   =OEM_HPAFLT_COMPRESSION_SLOPE_3430 =OEM_HPAFLT_COMPRESSION_INTERCEPT_200000
+   =OEM_IE_FLAGS_128
}

*%===========================================================================
*% [MediaType] Main Block Macro -- [Plain Paper]
*%===========================================================================

*BlockMacro: MediaType_PlainPaper
{
    *switch: PrintQuality
    {
        *case: Draft
        {
            *InsertBlock: =CMD_MediaType_PlainPaper_PrintQuality_Draft
            *InsertBlock: =OCD_MediaType_PlainPaper_PrintQuality_Draft
        }
        *default: *% FastNormal
        {
            *InsertBlock: =CMD_MediaType_PlainPaper_PrintQuality_FastNormal
            *InsertBlock: =OCD_MediaType_PlainPaper_PrintQuality_FastNormal
        }
        *case: Normal
        {
            *InsertBlock: =CMD_MediaType_PlainPaper_PrintQuality_Normal
            *InsertBlock: =OCD_MediaType_PlainPaper_PrintQuality_Normal
        }
        *case: Best
        {
            *InsertBlock: =CMD_MediaType_PlainPaper_PrintQuality_Best
            *InsertBlock: =OCD_MediaType_PlainPaper_PrintQuality_Best
        }
    }
}




*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*% End of Block Macros
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

*%-------------------------------------------------------------------------
*% The resource DLL contains strings, icons, bitmaps, fonts, etc.
*%-------------------------------------------------------------------------
*%ResourceDLL: "hpzstwn7.dll"
*Feature: RESDLL
{
    *Name: "resource dll files"
    *ConcealFromUI?: TRUE

    *Option: STRRESSEC
    {
        *Name: "hpzstwn7.dll"
    }

}

*%-------------------------------------------------------------------------
*% This is the same Model name in the .inf file
*%-------------------------------------------------------------------------
*ModelName: "hp business inkjet 1200 series"
*%-------------------------------------------------------------------------

*%-------------------------------------------------------------------------
*%% Global Entries from Anima
*%-------------------------------------------------------------------------

*MasterUnits: PAIR(1200, 1200)

*PrinterType: SERIAL


*%MaxCopies: 999


*%-------------------------------------------------------------------------
*% Pre-Analysis
*%-------------------------------------------------------------------------

*% This indicates that the print processor pre-analysis code path should
*% be enabled in the plug-in.
*Feature: HPPreAnalysis
{
    *Name: "HPPreAnalysis"
    *DefaultOption: False
    *Option: False
    {
        *Name: "False"
    }
}


*% This indicates that the "*PreAnalysisOptions: 8" has been specified in
*% the GPD and that the MS pre-analysis code path should be enabled in
*% the plug-in.  If both HPPreAnalysis and MSPreAnalysis are set to
*% true, the plug-in will fail during StartDoc.
*Feature: MSPreAnalysis
{
    *Name: "MSPreAnalysis"
    *DefaultOption: False
    *Option: False
    {
        *Name: "False"
    }
}


*%-------------------------------------------------------------------------
*% If Duplex is selected and installed
*% this will send us even pages backwards
*%-------------------------------------------------------------------------
*% Required only for the AutopDuplex.. See DDK.
*%-------------------------------------------------------------------------

*ReverseBandOrderForEvenPages?: TRUE

*switch:  Duplex
{
    *case: NONE
    {
        *switch: PaperSize *%done so that default setting can give banner output
          {
            *case: HP_BANNER_LETTER
             {
                *OutputOrderReversed?: TRUE
             }
             *case: HP_BANNER_A4
             {
                *OutputOrderReversed?: TRUE
             }
             *default:
             {
                *OutputOrderReversed?: TRUE
             }
          }
    }
    *default:
    {
        *OutputOrderReversed?: TRUE
    }
}
*%-------------------------------------------------------------------------
*% Duplex Unit
*%-------------------------------------------------------------------------
*Feature: DuplexUnit
{
    *rcNameID: =IDS_DUPLEX_2_SIDED_PRINTING
    *FeatureType: PRINTER_PROPERTY
    
    *DefaultOption: NotInstalled
    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
        *DisabledFeatures: LIST(Duplex)
    }
    *Option: Installed
    {
         *rcNameID: =IDS_INSTALLED
    }
}

*%-------------------------------------------------------------------------
*% Minimize margin
*%-------------------------------------------------------------------------
*Feature: HPMinimizeMargins
{
    *Name: "HPMinimizeMargins"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*%-----------------------------------------------------------
*%      Symmetric Margins
*%-----------------------------------------------------------
*Feature: HPSymmetricMargins
{
    *rcNameID: =IDS_SYMMETRIC_MARGINS_DISPLAY
    
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}
*%-----------------------------------------------------------
*%      Emulate LaserJet Margins
*%-----------------------------------------------------------
*Feature: HPEmulateLaserJetMargins
{
    *rcNameID: =IDS_EMULATE_LASERJET_DISPLAY
    
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*%-------------------------------------------------------------------------
*% BPD : Align Margins for Manual Duplex
*%-------------------------------------------------------------------------
*Feature: HPAlignMarginsForMD
{
    *Name: " HPAlignMarginsForMD"
    *DefaultOption: True
    *Option: True
    {
        *Name: ""
    }
}
*%-------------------------------------------------------------------------
*% Duplex
*%-------------------------------------------------------------------------
*Feature: Duplex
{
    *rcNameID: =IDS_TWO_SIDED_PRINTING_DISPLAY
    *DefaultOption: NONE
    *Option: NONE
    {
        *rcNameID: =IDS_NONE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
            *Cmd: "<1B>&l0S"
        }
    }
    *Option: VERTICAL
    {
        *rcNameID: =IDS_FLIP_ON_LONG_EDGE_STANDARD
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
            *Cmd: "<1B>&l1S"
        }
    }
    *Option: HORIZONTAL
    {
        *rcNameID: =IDS_FLIP_ON_SHORT_EDGE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
            *Cmd: "<1B>&l2S"
        }
    }
}


*%----------------------------------------------------------------------------
*% Custom Features for Reversing the order of printing if duplex is selected
*%----------------------------------------------------------------------------
*Feature: HPOutputOrderReverse
{
    *Name: "HPOutputOrderReverse"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True

    *Option: True
    {
        *Name: " "
    }
}

*Feature: JobUI
{
    *Name: "JobUI"
    *DefaultOption: True
    *Option: True
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.80
            *CallbackID: 18
        }
    }
}

*%-------------------------------------------------------------------------
*% Paper Sizes
*%-------------------------------------------------------------------------
*Feature: PaperSize
{
    *%rcNameID: =IDS_PAPER_SIZE_DISPLAY
    *rcNameID: =PAPER_SIZE_DISPLAY
    
    *DefaultOption: LETTER

    *Option: LETTER
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(10200, 13200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_US_LETTER
        }

        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(9888, 12000)
                                *PrintableOrigin: PAIR(156,600)
                                *CursorOrigin: PAIR(156,144)

                            }

                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(9888, 12000)
                                *PrintableOrigin: PAIR(156, 600)
                                *CursorOrigin: PAIR(10044, 144)

                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(9888, 12912)
                                *PrintableOrigin: PAIR(156,144)
                                *CursorOrigin: PAIR(156,144)

                            }

                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(9888, 12912)
                                *PrintableOrigin: PAIR(156, 144)
                                *CursorOrigin: PAIR(10044, 144)
                            }
                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(9888, 12000)
                                *PrintableOrigin: PAIR(156,600)
                                *CursorOrigin: PAIR(156,144)

                            }

                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(9888, 12000)
                                *PrintableOrigin: PAIR(156, 600)
                                *CursorOrigin: PAIR(10044, 144)

                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *switch: Duplex
                                {
                                    *case: NONE
                                    {

                                        *PrintableArea: PAIR(9888, 12544)
                                        *PrintableOrigin: PAIR(156, 83)
                                        *CursorOrigin: PAIR(156, 83)
                                    }
                                    *default
                                    {
                                        *PrintableArea: PAIR(9888, 12504)
                                        *PrintableOrigin: PAIR(156, 144)
                                        *CursorOrigin: PAIR(156, 144)
                                    }
                                }
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *switch: Duplex
                                {
                                    *case: NONE
                                    {

                                        *PrintableArea: PAIR(9888, 12544)
                                        *PrintableOrigin: PAIR(156, 83)
                                        *CursorOrigin: PAIR(10044, 83)
                                    }
                                    *default
                                    {
                                        *PrintableArea: PAIR(9888, 12504)
                                        *PrintableOrigin: PAIR(156, 144)
                                        *CursorOrigin: PAIR(10044, 144)
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: LEGAL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(10200, 16800)
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_US_LEGAL
        }

        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(9888, 15600)
                                *PrintableOrigin: PAIR(156,600)
                                *CursorOrigin: PAIR(156,144)

                            }

                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(9888, 15680)
                                *PrintableOrigin: PAIR(156, 600)
                                *CursorOrigin: PAIR(10044, 144)

                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(9888, 16512)
                                *PrintableOrigin: PAIR(156,144)
                                *CursorOrigin: PAIR(156,144)

                            }

                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(9888, 16512)
                                *PrintableOrigin: PAIR(156, 144)
                                *CursorOrigin: PAIR(10044, 144)
                            }
                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(9888, 15600)
                                *PrintableOrigin: PAIR(156,600)
                                *CursorOrigin: PAIR(156,144)

                            }

                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(9888, 15680)
                                *PrintableOrigin: PAIR(156, 600)
                                *CursorOrigin: PAIR(10044, 144)

                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(9888, 16160)
                                *PrintableOrigin: PAIR(156, 83)
                                *CursorOrigin: PAIR(156, 83)

                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(9888, 16160)
                                *PrintableOrigin: PAIR(156, 83)
                                *CursorOrigin: PAIR(10044, 83)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: EXECUTIVE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *%PageDimensions: PAIR(8700, 12600)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_US_EXECUTIVE
        }

        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(8384, 11400)
                                *PrintableOrigin: PAIR(158,600)
                                *CursorOrigin: PAIR(158,144)

                            }

                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(8384, 11400)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(8542, 144)

                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(8384, 12312)
                                *PrintableOrigin: PAIR(158,144)
                                *CursorOrigin: PAIR(158,144)

                            }

                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(8384, 12312)
                                *PrintableOrigin: PAIR(158, 144)
                                *CursorOrigin: PAIR(8542, 144)
                            }
                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(8384, 11400)
                                *PrintableOrigin: PAIR(158,600)
                                *CursorOrigin: PAIR(158,144)

                            }

                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(8384, 11400)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(8542, 144)

                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(8384, 11936)
                                *PrintableOrigin: PAIR(158,83)
                                *CursorOrigin: PAIR(158, 83)

                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(8384, 11936)
                                *PrintableOrigin: PAIR(158,83)
                                *CursorOrigin: PAIR(8542, 83)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option :STATEMENT
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *%PageDimensions: PAIR(6600, 10200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_STATEMENT
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(6272, 9000)
                                *PrintableOrigin: PAIR(164,600)
                                *CursorOrigin: PAIR(164,144)

                            }

                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(6272, 9000)
                                *PrintableOrigin: PAIR(164, 600)
                                *CursorOrigin: PAIR(6436, 144)

                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(6272, 9912)
                                *PrintableOrigin: PAIR(164,144)
                                *CursorOrigin: PAIR(164,144)

                            }

                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(6272, 9912)
                                *PrintableOrigin: PAIR(164, 144)
                                *CursorOrigin: PAIR(6436, 144)
                            }
                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(6272, 9000)
                                *PrintableOrigin: PAIR(164,600)
                                *CursorOrigin: PAIR(164,144)

                            }

                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(6272, 9000)
                                *PrintableOrigin: PAIR(164, 600)
                                *CursorOrigin: PAIR(6436, 144)

                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(6272, 9536)
                                *PrintableOrigin: PAIR(164, 83)
                                *CursorOrigin: PAIR(164, 83)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(6272, 9536)
                                *PrintableOrigin: PAIR(164, 83)
                                *CursorOrigin: PAIR(6436, 83)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: A4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *%PageDimensions: PAIR(9924, 14028)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_A4
        }

        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(9600, 12828)
                                *PrintableOrigin: PAIR(156, 600)
                                *CursorOrigin: PAIR(156, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(9600, 12828)
                                *PrintableOrigin: PAIR(156, 600)
                                *CursorOrigin: PAIR(9756, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(9600, 13728)
                                *PrintableOrigin: PAIR(156, 144)
                                *CursorOrigin: PAIR(156, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(9600, 13740)
                                *PrintableOrigin: PAIR(156, 144)
                                *CursorOrigin: PAIR(9756, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(9600, 12828)
                                *PrintableOrigin: PAIR(156, 600)
                                *CursorOrigin: PAIR(156, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(9600, 12828)
                                *PrintableOrigin: PAIR(156, 600)
                                *CursorOrigin: PAIR(9756, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *switch: Duplex
                                {
                                    *case: NONE
                                    {

                                        *PrintableArea: PAIR(9600, 13376)
                                        *PrintableOrigin: PAIR(156, 83)
                                        *CursorOrigin: PAIR(156, 83)
                                    }
                                    *default
                                    {
                                        *PrintableArea: PAIR(9600, 13332)
                                        *PrintableOrigin: PAIR(156, 144)
                                        *CursorOrigin: PAIR(156, 144)
                                    }
                                }
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *switch: Duplex
                                {
                                    *case: NONE
                                    {

                                        *PrintableArea: PAIR(9600, 13376)
                                        *PrintableOrigin: PAIR(156, 83)
                                        *CursorOrigin: PAIR(9756, 83)
                                    }
                                    *default
                                    {
                                        *PrintableArea: PAIR(9600, 13332)
                                        *PrintableOrigin: PAIR(156, 144)
                                        *CursorOrigin: PAIR(9756, 144)
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: A5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *%PageDimensions: PAIR(6996, 9924)
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_A5
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(6688, 8724)
                                *PrintableOrigin: PAIR(156, 600)
                                *CursorOrigin: PAIR(156, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(6688, 8724)
                                *PrintableOrigin: PAIR(156, 600)
                                *CursorOrigin: PAIR(6844, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(6688, 9636)
                                *PrintableOrigin: PAIR(156, 144)
                                *CursorOrigin: PAIR(156, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(6688, 9636)
                                *PrintableOrigin: PAIR(156, 144)
                                *CursorOrigin: PAIR(6844, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(6688, 8724)
                                *PrintableOrigin: PAIR(156, 600)
                                *CursorOrigin: PAIR(156, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(6688, 8724)
                                *PrintableOrigin: PAIR(156, 600)
                                *CursorOrigin: PAIR(6844, 144)
                            }
                        }
                    }

                    *case: False
                    {
                         *switch: Orientation
                         {
                            *case: PORTRAIT
                            {
                                *switch: Duplex
                                {
                                    *case: NONE
                                    {
                                        *PrintableArea: PAIR(6688, 9280)
                                        *PrintableOrigin: PAIR(156, 83)
                                        *CursorOrigin: PAIR(156, 83)
                                    }
                                    *default
                                    {

                                        *PrintableArea: PAIR(6688, 9228)
                                        *PrintableOrigin: PAIR(156, 144)
                                        *CursorOrigin: PAIR(6844, 144)
                                    }
                                }
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *switch: Duplex
                                {
                                    *case: NONE
                                    {
                                        *PrintableArea: PAIR(6688, 9280)
                                        *PrintableOrigin: PAIR(156, 83)
                                        *CursorOrigin: PAIR(6844, 83)
                                    }
                                    *default
                                    {

                                        *PrintableArea: PAIR(6688, 9228)
                                        *PrintableOrigin: PAIR(156, 144)
                                        *CursorOrigin: PAIR(6844, 144)
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *%PageDimensions: PAIR(8604, 12144)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_B5
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(8288, 10944)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(158, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(8288, 10944)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(8446, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(8288, 11856)
                                *PrintableOrigin: PAIR(158, 144)
                                *CursorOrigin: PAIR(158, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(8288, 11856)
                                *PrintableOrigin: PAIR(158, 144)
                                *CursorOrigin: PAIR(8446, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(8288, 10944)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(158, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(8288, 10944)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(8446, 144)
                            }
                        }
                    }

                    *case: False
                    {
                         *switch: Orientation
                         {
                            *case: PORTRAIT
                            {
                                *switch: Duplex
                                {
                                    *case: NONE
                                    {
                                        *PrintableArea: PAIR(8288, 11488)
                                        *PrintableOrigin: PAIR(158, 83)
                                        *CursorOrigin: PAIR(158, 83)
                                    }
                                    *default
                                    {

                                        *PrintableArea: PAIR(8288, 11448)
                                        *PrintableOrigin: PAIR(158, 144)
                                        *CursorOrigin: PAIR(158, 144)
                                    }
                                }
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *switch: Duplex
                                {
                                    *case: NONE
                                    {
                                        *PrintableArea: PAIR(8288, 11488)
                                        *PrintableOrigin: PAIR(158, 83)
                                        *CursorOrigin: PAIR(8446, 83)
                                    }
                                    *default
                                    {

                                        *PrintableArea: PAIR(8288, 11448)
                                        *PrintableOrigin: PAIR(158, 144)
                                        *CursorOrigin: PAIR(8446, 144)
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: ENV_10
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *%PageDimensions: PAIR(4950, 11400)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_ENV_10
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4608, 10200)
                                *PrintableOrigin: PAIR(170, 600)
                                *CursorOrigin: PAIR(170, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4608, 10200)
                                *PrintableOrigin: PAIR(170, 600)
                                *CursorOrigin: PAIR(4778, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4608, 10704)
                                *PrintableOrigin: PAIR(170, 144)
                                *CursorOrigin: PAIR(170, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(4608, 10704)
                                *PrintableOrigin: PAIR(170, 144)
                                *CursorOrigin: PAIR(4778, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4608, 10200)
                                *PrintableOrigin: PAIR(170, 600)
                                *CursorOrigin: PAIR(170, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4608, 10200)
                                *PrintableOrigin: PAIR(170, 600)
                                *CursorOrigin: PAIR(4778, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4608, 10272)
                                *PrintableOrigin: PAIR(170, 552)
                                *CursorOrigin: PAIR(170, 552)

                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4608, 10272)
                                *PrintableOrigin: PAIR(170, 552)
                                *CursorOrigin: PAIR(4778, 552)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: ENV_A2
    {
        *rcNameID: =IDS_ENV_A2
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *PageDimensions: PAIR(5244, 6900)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_ENV_A2
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4928, 5700)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(158, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4928, 5700)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(5086, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4928, 6204)
                                *PrintableOrigin: PAIR(158, 144)
                                *CursorOrigin: PAIR(158, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(4928, 6204)
                                *PrintableOrigin: PAIR(158, 144)
                                *CursorOrigin: PAIR(5086, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4928, 5700)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(158, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4928, 5700)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(5086, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                           *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4928, 5792)
                                *PrintableOrigin: PAIR(158, 552)
                                *CursorOrigin: PAIR(158, 552)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4928, 5792)
                                *PrintableOrigin: PAIR(158, 552)
                                *CursorOrigin: PAIR(5086, 552)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: ENV_MONARCH
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *%PageDimensions: PAIR(4656, 9000)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_ENV_MONARCH
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4320, 7800)
                                *PrintableOrigin: PAIR(168, 600)
                                *CursorOrigin: PAIR(168, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4320, 7800)
                                *PrintableOrigin: PAIR(168, 600)
                                *CursorOrigin: PAIR(4488, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4320, 8304)
                                *PrintableOrigin: PAIR(168, 144)
                                *CursorOrigin: PAIR(168, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(4320, 8304)
                                *PrintableOrigin: PAIR(168, 144)
                                *CursorOrigin: PAIR(4488, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4320, 7800)
                                *PrintableOrigin: PAIR(168, 600)
                                *CursorOrigin: PAIR(168, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4320, 7800)
                                *PrintableOrigin: PAIR(168, 600)
                                *CursorOrigin: PAIR(4488, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4320, 7872)
                                *PrintableOrigin: PAIR(168, 552)
                                *CursorOrigin: PAIR(168, 552)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4320, 7872)
                                *PrintableOrigin: PAIR(168, 552)
                                *CursorOrigin: PAIR(4488, 552)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: ENV_DL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *%PageDimensions: PAIR(5196,10392)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_ENV_DL
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4864, 9192)
                                *PrintableOrigin: PAIR(166, 600)
                                *CursorOrigin: PAIR(166, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4864, 9192)
                                *PrintableOrigin: PAIR(166, 600)
                                *CursorOrigin: PAIR(5030, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4864, 9696)
                                *PrintableOrigin: PAIR(166, 144)
                                *CursorOrigin: PAIR(166, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(4864, 9696)
                                *PrintableOrigin: PAIR(166, 144)
                                *CursorOrigin: PAIR(5030, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4864, 9192)
                                *PrintableOrigin: PAIR(166, 600)
                                *CursorOrigin: PAIR(166, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4864, 9192)
                                *PrintableOrigin: PAIR(166, 600)
                                *CursorOrigin: PAIR(5030, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                           *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4864, 9280)
                                *PrintableOrigin: PAIR(166, 552)
                                *CursorOrigin: PAIR(166, 552)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4864, 9280)
                                *PrintableOrigin: PAIR(166, 552)
                                *CursorOrigin: PAIR(5030, 552)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: ENV_C5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *%PageDimensions: PAIR(7656,10824)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.30
            *Cmd: =PCL_ENV_C5
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(7328, 9624)
                                *PrintableOrigin: PAIR(164, 600)
                                *CursorOrigin: PAIR(164, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(7328, 9624)
                                *PrintableOrigin: PAIR(164, 600)
                                *CursorOrigin: PAIR(7492, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(7328, 10128)
                                *PrintableOrigin: PAIR(164, 144)
                                *CursorOrigin: PAIR(164, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(7328, 10128)
                                *PrintableOrigin: PAIR(164, 144)
                                *CursorOrigin: PAIR(7492, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(7328, 9624)
                                *PrintableOrigin: PAIR(164, 600)
                                *CursorOrigin: PAIR(164, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(7328, 9624)
                                *PrintableOrigin: PAIR(164, 600)
                                *CursorOrigin: PAIR(7492, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                           *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(7328, 9696)
                                *PrintableOrigin: PAIR(164, 552)
                                *CursorOrigin: PAIR(164, 552)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(7328, 9696)
                                *PrintableOrigin: PAIR(164, 552)
                                *CursorOrigin: PAIR(7492, 552)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: ENV_C6
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *%PageDimensions: PAIR(5388, 7656)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_ENV_C6
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(5056, 6456)
                                *PrintableOrigin: PAIR(166, 600)
                                *CursorOrigin: PAIR(166, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(5056, 6456)
                                *PrintableOrigin: PAIR(166, 600)
                                *CursorOrigin: PAIR(5072, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(5056, 6960)
                                *PrintableOrigin: PAIR(166, 144)
                                *CursorOrigin: PAIR(166, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(5056, 6960)
                                *PrintableOrigin: PAIR(166, 144)
                                *CursorOrigin: PAIR(5072, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(5056, 6456)
                                *PrintableOrigin: PAIR(166, 600)
                                *CursorOrigin: PAIR(166, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(5056, 6456)
                                *PrintableOrigin: PAIR(166, 600)
                                *CursorOrigin: PAIR(5072, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                           *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(5056, 6528)
                                *PrintableOrigin: PAIR(166, 552)
                                *CursorOrigin: PAIR(166, 552)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(5056, 6528)
                                *PrintableOrigin: PAIR(166, 552)
                                *CursorOrigin: PAIR(5072, 552)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: HP_GREETING_CARD_ENV
    {
        *rcNameID: =IDS_HP_GREETING_CARD_ENV
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *PageDimensions: PAIR(5250, 7200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_GREETING_CARD_ENV
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4928, 6000)
                                *PrintableOrigin: PAIR(160, 600)
                                *CursorOrigin: PAIR(160, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4928, 6000)
                                *PrintableOrigin: PAIR(160, 600)
                                *CursorOrigin: PAIR(5088, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                           *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4928, 6096)
                                *PrintableOrigin: PAIR(160, 552)
                                *CursorOrigin: PAIR(160, 552)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4928, 6096)
                                *PrintableOrigin: PAIR(160, 552)
                                *CursorOrigin: PAIR(5088, 552)
                            }
                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4928, 6000)
                                *PrintableOrigin: PAIR(160, 600)
                                *CursorOrigin: PAIR(160, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4928, 6000)
                                *PrintableOrigin: PAIR(160, 600)
                                *CursorOrigin: PAIR(5088, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                           *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4928, 6080)
                                *PrintableOrigin: PAIR(160, 552)
                                *CursorOrigin: PAIR(160, 552)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4928, 6080)
                                *PrintableOrigin: PAIR(160, 552)
                                *CursorOrigin: PAIR(5088, 552)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: INDEX_3x5
    {
        *rcNameID: =IDS_HP_INDEX_CARD_3X5_NOPAREN
        *InsertBlock: =DuplexConstraints
        *PageDimensions: PAIR(3600,6000)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_INDEX_3x5
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(3264, 4800)
                                *PrintableOrigin: PAIR(168, 600)
                                *CursorOrigin: PAIR(168, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(3264, 4800)
                                *PrintableOrigin: PAIR(168, 600)
                                *CursorOrigin: PAIR(3432, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(3264, 5712)
                                *PrintableOrigin: PAIR(168, 144)
                                *CursorOrigin: PAIR(168, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(3264, 5712)
                                *PrintableOrigin: PAIR(168, 144)
                                *CursorOrigin: PAIR(3432, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(3264, 4800)
                                *PrintableOrigin: PAIR(168, 600)
                                *CursorOrigin: PAIR(168, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(3264, 4800)
                                *PrintableOrigin: PAIR(168, 600)
                                *CursorOrigin: PAIR(3432, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                           *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(3264, 5344)
                                *PrintableOrigin: PAIR(168, 83)
                                *CursorOrigin: PAIR(168, 83)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(3264, 5344)
                                *PrintableOrigin: PAIR(168, 83)
                                *CursorOrigin: PAIR(3432, 83)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: INDEX_4x6
    {
        *rcNameID: =IDS_HP_INDEX_CARD_4X6_NOPAREN
        *InsertBlock: =DuplexConstraints
        *PageDimensions: PAIR(4800, 7200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_INDEX_4x6
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4512, 6000)
                                *PrintableOrigin: PAIR(144, 600)
                                *CursorOrigin: PAIR(144, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4512, 6000)
                                *PrintableOrigin: PAIR(144, 600)
                                *CursorOrigin: PAIR(4656, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4512, 6912)
                                *PrintableOrigin: PAIR(144, 144)
                                *CursorOrigin: PAIR(144, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(4512, 6912)
                                *PrintableOrigin: PAIR(144, 144)
                                *CursorOrigin: PAIR(4656, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4512, 6000)
                                *PrintableOrigin: PAIR(144, 600)
                                *CursorOrigin: PAIR(144, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4512, 6000)
                                *PrintableOrigin: PAIR(144, 600)
                                *CursorOrigin: PAIR(4656, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                           *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4512, 6496)
                                *PrintableOrigin: PAIR(144, 144)
                                *CursorOrigin: PAIR(144, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4512, 6496)
                                *PrintableOrigin: PAIR(144, 144)
                                *CursorOrigin: PAIR(4656, 144)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: INDEX_5x8
    {
        *rcNameID: =IDS_HP_INDEX_CARD_5X8_NOPAREN
        *PageDimensions: PAIR(6000, 9600)
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_INDEX_5x8
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(5664, 8400)
                                *PrintableOrigin: PAIR(168, 600)
                                *CursorOrigin: PAIR(168, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(5664, 8400)
                                *PrintableOrigin: PAIR(152, 600)
                                *CursorOrigin: PAIR(5832, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(5664, 9312)
                                *PrintableOrigin: PAIR(168, 144)
                                *CursorOrigin: PAIR(168, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(5664, 9312)
                                *PrintableOrigin: PAIR(168, 144)
                                *CursorOrigin: PAIR(5832, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(5664, 8400)
                                *PrintableOrigin: PAIR(168, 600)
                                *CursorOrigin: PAIR(168, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(5664, 8400)
                                *PrintableOrigin: PAIR(168, 600)
                                *CursorOrigin: PAIR(5832, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                         {
                            *case: PORTRAIT
                            {
                                *switch: Duplex
                                {
                                    *case: NONE
                                    {
                                        *PrintableArea: PAIR(5664, 8960)
                                        *PrintableOrigin: PAIR(168, 83)
                                        *CursorOrigin: PAIR(168, 83)
                                    }
                                    *default
                                    {

                                        *PrintableArea: PAIR(5664, 8480)
                                        *PrintableOrigin: PAIR(168, 552)
                                        *CursorOrigin: PAIR(168, 552)
                                    }
                                }
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *switch: Duplex
                                {
                                    *case: NONE
                                    {
                                        *PrintableArea: PAIR(5664, 8960)
                                        *PrintableOrigin: PAIR(168, 83)
                                        *CursorOrigin: PAIR(5832, 83)
                                    }
                                    *default
                                    {

                                        *PrintableArea: PAIR(5664, 8480)
                                        *PrintableOrigin: PAIR(168, 552)
                                        *CursorOrigin: PAIR(5832, 552)
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: PHOTO_4X6_IN_WT
    {
        *rcNameID: =IDS_PHOTO_4_X_6_IN_WITH_TAB
        *InsertBlock: =DuplexConstraints
        *%Constraints: HPPrintOnBothSidesManually.True
        *PageDimensions: PAIR(4800, 7200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_PHOTO_4X6
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4512, 6000)
                                *PrintableOrigin: PAIR(144, 600)
                                *CursorOrigin: PAIR(144, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4512, 6000)
                                *PrintableOrigin: PAIR(144, 600)
                                *CursorOrigin: PAIR(4656, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4512, 6912)
                                *PrintableOrigin: PAIR(144, 144)
                                *CursorOrigin: PAIR(144, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(4512, 6912)
                                *PrintableOrigin: PAIR(144, 144)
                                *CursorOrigin: PAIR(4656, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4512, 6000)
                                *PrintableOrigin: PAIR(144, 600)
                                *CursorOrigin: PAIR(144, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4512, 6000)
                                *PrintableOrigin: PAIR(144, 600)
                                *CursorOrigin: PAIR(4656, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                           *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4512, 6912)
                                *PrintableOrigin: PAIR(144, 144)
                                *CursorOrigin: PAIR(144, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4512, 6912)
                                *PrintableOrigin: PAIR(144, 144)
                                *CursorOrigin: PAIR(4656, 144)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: A6
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *%Constraints: HPPrintOnBothSidesManually.True
        *%PageDimensions: PAIR(4956, 6996)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_A6
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4638, 5796)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(158, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4638, 5796)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(4798, 144)
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4638, 6708)
                                *PrintableOrigin: PAIR(158, 144)
                                *CursorOrigin: PAIR(158, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *PrintableArea: PAIR(4638, 6708)
                                *PrintableOrigin: PAIR(158, 144)
                                *CursorOrigin: PAIR(4798, 144)
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4638, 5796)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(158, 144)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4638, 5796)
                                *PrintableOrigin: PAIR(158, 600)
                                *CursorOrigin: PAIR(4798, 144)
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                           *case: PORTRAIT
                            {
                                *PrintableArea: PAIR(4638, 6336)
                                *PrintableOrigin: PAIR(158, 83)
                                *CursorOrigin: PAIR(158, 83)
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *PrintableArea: PAIR(4638, 6336)
                                *PrintableOrigin: PAIR(158, 83)
                                *CursorOrigin: PAIR(4798, 83)
                            }
                        }
                    }
                }
            }
        }
    }

    *Option: HP_BANNER_LETTER
    {
        *rcNameID: =IDS_BANNER_LETTER
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *PageDimensions: PAIR(10152, 13200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_US_LETTER
        }
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9888,13200)
                *PrintableOrigin: PAIR(156, 0)
                *CursorOrigin: PAIR(156, 0)
            }
            *case: LANDSCAPE_CC270
            {
                *PrintableArea: PAIR(9888,13200)
                *PrintableOrigin: PAIR(156, 0)
                *CursorOrigin: PAIR(10044, 0)
            }
        }
    }

    *Option: HP_BANNER_A4
    {
        *rcNameID: =IDS_BANNER_A4
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *PageDimensions: PAIR(9864, 14030)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_A4
        }
        *switch: Orientation
        {
           *case: PORTRAIT
            {
                *PrintableArea: PAIR(9600, 14030)
                *PrintableOrigin: PAIR(162, 0)
                *CursorOrigin: PAIR(160, 0)
            }
            *case: LANDSCAPE_CC270
            {
                *PrintableArea: PAIR(9600, 14030)
                *PrintableOrigin: PAIR(162, 0)
                *CursorOrigin: PAIR(9762,0)
            }
        }
    }

*%--------------------------------------------------------------------------------
*% CUSTOMSIZE
*%--------------------------------------------------------------------------------
    *Option: CUSTOMSIZE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *MinSize: PAIR(3600, 6000)      *% 3 x 5
        *MaxSize: PAIR(14028, 20400)    *% 11.69 x 17
        *MaxPrintableWidth: 10200
        *MinLeftMargin: 300
        *CenterPrintable?: FALSE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =PCL_CUSTOMSIZE
        }
        *switch:HPMinimizeMargins
        {
            *case:True   *%HPMinimizeMargins
            {
                *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *CustCursorOriginX:    %d{144}
                                *CustCursorOriginY:    %d{144}
                                *CustPrintableOriginX: %d{144}
                                *CustPrintableOriginY: %d{600}
                                *CustPrintableSizeX:   %d{PhysPaperWidth - 288}
                                *CustPrintableSizeY:   %d{PhysPaperLength - 1200}

                            }
                            *case: LANDSCAPE_CC270
                            {
                                *CustCursorOriginX:    %d{144}
                                *CustCursorOriginY:    %d{PhysPaperLength - 600}
                                *CustPrintableOriginX: %d{144}
                                *CustPrintableOriginY: %d{600}
                                *CustPrintableSizeX:   %d{PhysPaperWidth - 288}
                                *CustPrintableSizeY:   %d{PhysPaperLength - 1200}
                            }
                        }
                    }
                    *case: False
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *CustCursorOriginX:    %d{144}
                                *CustCursorOriginY:    %d{144}
                                *CustPrintableOriginX: %d{144}
                                *CustPrintableOriginY: %d{144}
                                *CustPrintableSizeX:   %d{PhysPaperWidth - 288}
                                *CustPrintableSizeY:   %d{PhysPaperLength - 288}
                            }
                            *case: LANDSCAPE_CC270
                            {

                                *CustCursorOriginX:    %d{144}
                                *CustCursorOriginY:    %d{PhysPaperLength - 144}
                                *CustPrintableOriginX: %d{144}
                                *CustPrintableOriginY: %d{144}
                                *CustPrintableSizeX:   %d{PhysPaperWidth - 288}
                                *CustPrintableSizeY:   %d{PhysPaperLength - 288}
                            }

                        }
                    }
                }
            }
            *case : False
            {

               *switch: HPSymmetricMargins
               {
                    *case: True
                    {
                        *switch: Orientation
                        {
                            *case: PORTRAIT
                            {
                                *CustCursorOriginX:    %d{144}
                                *CustCursorOriginY:    %d{144}
                                *CustPrintableOriginX: %d{144}
                                *CustPrintableOriginY: %d{600}
                                *CustPrintableSizeX:   %d{PhysPaperWidth - 288}
                                *CustPrintableSizeY:   %d{PhysPaperLength - 1200}

                            }
                            *case: LANDSCAPE_CC270
                            {
                                *CustCursorOriginX:    %d{300}
                                *CustCursorOriginY:    %d{PhysPaperLength - 600}
                                *CustPrintableOriginX: %d{300}
                                *CustPrintableOriginY: %d{144}
                                *CustPrintableSizeX:   %d{PhysPaperWidth - 1200}
                                *CustPrintableSizeY:   %d{PhysPaperLength - 288}
                            }
                        }
                    }

                    *case: False
                    {
                        *switch: Orientation
                        {
                           *case: PORTRAIT
                            {
                                *CustCursorOriginX:    %d{300}
                                *CustCursorOriginY:    %d{144}
                                *CustPrintableOriginX: %d{300}
                                *CustPrintableOriginY: %d{144}
                                *CustPrintableSizeX:   %d{PhysPaperWidth - 600}
                                *CustPrintableSizeY:   %d{PhysPaperLength - 288}
                            }
                            *case: LANDSCAPE_CC270
                            {
                                *CustCursorOriginX:    %d{300}
                                *CustCursorOriginY:    %d{PhysPaperLength - 144}
                                *CustPrintableOriginX: %d{300}
                                *CustPrintableOriginY: %d{144}
                                *CustPrintableSizeX:   %d{PhysPaperWidth - 600}
                                *CustPrintableSizeY:   %d{PhysPaperLength - 288}
                            }
                        }
                    }
                }
            }
        }
    }
}


*%-------------------------------------------------------------------------
*% Custom Feature  - Actual Custom Range
*%-------------------------------------------------------------------------
*Feature: ActualCustomRange
{
    *Name: "Actual Custom Range"
    *ConcealFromUI?: TRUE
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: 215900_355600 *%Calculated from max. custom value.
    *Option: 215900_355600
    {
        *Name: "215900_355600"
    }
}

*%---------------------------------------------------------------------------------------------
*% Custom feature for Manual Duplex - List of paper sizes that has constraints with Auto Duplex
*% Should have the option names of paper sizes constrained with Auto Duplex
*%---------------------------------------------------------------------------------------------
*Feature: HPPaperSizeDuplexConstraints
{
    *Name: "HPPaperSizeDuplexConstraints"

    *Option: LEGAL
    {
        *Name: "LEGAL"
    }

    *Option: STATEMENT
    {
        *Name: "STATEMENT"
    }

    *Option: PHOTO_4X6_IN_WT
    {
        *Name: "PHOTO_4X6_IN_WT"
    }

    *Option: INDEX_4x6
    {
        *Name: "INDEX_4x6"
    }

    *Option: INDEX_3x5
    {
        *Name: "INDEX_3x5"
    }

    *Option: A6
    {
        *Name: "A6"
    }

    *Option: ENV_MONARCH
    {
        *Name: "ENV_MONARCH"
    }

    *Option: ENV_10
    {
        *Name: "ENV_10"
    }

    *Option: ENV_DL
    {
        *Name: "ENV_DL"
    }

    *Option: ENV_A2
    {
        *Name: "ENV_A2"
    }

    *Option: HP_GREETING_CARD_ENV
    {
        *Name: "HP_GREETING_CARD_ENV"
    }

    *Option: ENV_C6
    {
        *Name: "ENV_C6"
    }

    *Option: ENV_C5
    {
        *Name: "ENV_C5"
    }
}

*Feature: Tray2
{
    *rcNameID: =IDS_TRAY2
    
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: Installed
    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
    }
    *Option: Installed
    {
         *rcNameID: =IDS_INSTALLED
    }
}
*Feature: HPReverseBandOrderForEvenPages
{
    *Name: "HPReverseBandOrderForEvenPages"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: ReverseBandOrder
    *Option: ReverseBandOrder
    {
        *Name: ""
    }
}
*Feature: Halftone
{
    *Name: "Halftone"
    *DefaultOption: HT_PATSIZE_DEFAULT
    *Option: HT_PATSIZE_DEFAULT
    {
        *Name: "HT_PATSIZE_DEFAULT"
    }
}



*%-------------------------------------------------------------------------
*% Custom Features for BiDi Support through LM
*%-------------------------------------------------------------------------
*Feature: HPEnableDeviceIDEAC
{
     *Name: "HPEnableDeviceIDEAC"
     *FeatureType: PRINTER_PROPERTY
      *DefaultOption: True

     *Option: True
     {
          *Name: ""
     }
}

*Feature: HPSendPreloadCommand
{
    *Name: "HPSendPreloadCommand"
    *DefaultOption: TRUE
    *Option: TRUE
    {
        *Name: ""
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.45
            *Cmd: =PCL_MEDSOURCE_PRELOAD
        }
    }
}
*Feature: HPUseAutoDuplexUnit
{
    *Name: "Use auto-duplex unit"
    
    *DefaultOption: False
    *Option: False
    {
        *Name: "False"
    }
    *Option: True
    {
        *Name: "True"
    }
}
*Feature: ESPRITSupported
{
    *Name: "ESPRITSupported"
    *DefaultOption: True
    *FeatureType: DOC_PROPERTY
    *Option: True
    {
        *Name: " "
    }
}

*%-------------------------------------------------------------------------
*% Paper Source - Form to Tray Assignment
*%-------------------------------------------------------------------------
*Feature: InputBin
{
    *rcNameID: =IDS_PAPER_SOURCE
    
    *DefaultOption: Tray1

    *Option: PrinterSelect
    {
        *rcNameID: =IDS_PRINTER_AUTO_SELECT
        *switch: PaperSize
          {
            *case: HP_BANNER_LETTER
             {
                 *Command: CmdSelect
                    {
                        *Order: PAGE_SETUP.40
                        *Cmd:  =PCL_MEDSOURCE_TRACTORFEED 
                    }
             }
            *case: HP_BANNER_A4
             {
                 *Command: CmdSelect
                    {
                        *Order: PAGE_SETUP.40
                        *Cmd:  =PCL_MEDSOURCE_TRACTORFEED 
                    }
             }
            *default:   *%Includes all other media types
             {
                *Command: CmdSelect
                    {
                        *Order: PAGE_SETUP.40
                        *Cmd: =PCL_MEDSOURCE_AUTOSELECT 
                    }
            }
        }
    }
    *Option: Tray1
     {
        *rcNameID: =IDS_TRAY1
        *switch: PaperSize
          {
            *case: HP_BANNER_LETTER
             {
                 *Command: CmdSelect
                    {
                        *Order: PAGE_SETUP.40
                        *Cmd:  =PCL_MEDSOURCE_TRACTORFEED 
                    }
             }
            *case: HP_BANNER_A4
             {
                 *Command: CmdSelect
                    {
                        *Order: PAGE_SETUP.40
                        *Cmd:  =PCL_MEDSOURCE_TRACTORFEED 
                    }
             }
            *default:   *%Includes all other media types
             {
                *Command: CmdSelect
                    {
                        *Order: PAGE_SETUP.40
                        *Cmd: =PCL_MEDSOURCE_TRAY1 
                    }
            }
        }
     }
     *Option: Tray2
     {
       *rcNameID: =IDS_TRAY2
       *switch: PaperSize
          {
            *case: HP_BANNER_LETTER
             {
                 *Command: CmdSelect
                    {
                        *Order: PAGE_SETUP.40
                        *Cmd:  =PCL_MEDSOURCE_TRACTORFEED 
                    }
             }
            *case: HP_BANNER_A4
             {
                 *Command: CmdSelect
                    {
                        *Order: PAGE_SETUP.40
                        *Cmd:  =PCL_MEDSOURCE_TRACTORFEED 
                    }
             }
            *default:   *%Includes all other media types
             {
                   *Command: CmdSelect
                    {
                        *Order: PAGE_SETUP.40
                        *Cmd: =PCL_MEDSOURCE_TRAY2 
                    }
            }
        }
     }

    *Option: ManualFeed
    {
        *rcNameID: =IDS_MANUAL_FEED_IN_TRAY1
        *switch: PaperSize
        {
            *case: HP_BANNER_LETTER
            {
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.40
                    *Cmd: =PCL_MEDSOURCE_TRACTORFEED
                }
            }
            *case: HP_BANNER_A4
            {
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.40
                    *Cmd: =PCL_MEDSOURCE_TRACTORFEED
                }
            }
            *default:   *%Includes all other media types
            {
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.40
                    *Cmd: =PCL_MEDSOURCE_MANUALFEED 
                }
            }
        }
    }
}

*%-------------------------------------------------------------------------
*% Custom Feature HP Covers
*%-------------------------------------------------------------------------

*Feature: HPCovers

{
    *Name: "HPCovers"
    *FeatureType: DOC_PROPERTY
    *ConflictPriority: 5
    *DefaultOption: Front_Cover
    *Option: Front_Cover
    {
        *rcNameID: =IDS_FRONT_COVER
    }
    *Option: First_Page
    {
        *rcNameID: =IDS_STA_FIRST_PAGE
    }
    *Option: Other_Pages
    {
        *rcNameID: =IDS_MEDIA_LB_OTHER_PAGES
    }
    *Option: Last_Page
    {
        *rcNameID: =IDS_LAST_PAGE
    }
    *Option: Back_Cover
    {
        *rcNameID: =IDS_BACK_COVER
    }
}

*%-------------------------------------------------------------------------
*% Use Different First Paper for Choice
*%-------------------------------------------------------------------------

*Feature: HPNUseDiffFirstPageChoice
{
    *Name: "HPNUseDiffFirstPageChoice"
    *ConcealFromUI?: FALSE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: False
    {
        *rcNameID: =IDS_FALSE
    }
}

*%-------------------------------------------------------------------------
*% Orientation
*%-------------------------------------------------------------------------
*Feature: Orientation
{
    *rcNameID: =IDS_ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =IDS_PORTRAIT_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.50
            *Cmd: =PCL_ORIENT_PORTRAIT
        }
    }
    *Option: LANDSCAPE_CC270
    {
        *rcNameID: =IDS_LANDSCAPE_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.50
            *Cmd: =PCL_ORIENT_LANDSCAPE
        }
    }
}


*%-------------------------------------------------------------------------
*% Custom Features  - HP Ink Volume
*%-------------------------------------------------------------------------
*Feature: HPInkVolume
{
    *rcNameID: =IDS_INKVOLUME
    
    *FeatureType: DOC_PROPERTY
    *DefaultOption: Normal
    *Option: Lighter
    {
        *rcNameID: =IDS_LIGHTER
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PCL_INKVOL_LIGHTER
        }
    }
    *Option: Light
    {
        *rcNameID: =IDS_LIGHT3
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PCL_INKVOL_LIGHT
        }
    }
    *Option: Normal
    {
        *rcNameID: =IDS_NORMAL
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PCL_INKVOL_NORMAL
        }
    }
    *Option: Heavy
    {
        *rcNameID: =IDS_HEAVY_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PCL_INKVOL_HEAVY
        }
    }
    *Option: Heavier
    {
        *rcNameID: =IDS_HEAVIER
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PCL_INKVOL_HEAVIER
        }
    }
}


*%-------------------------------------------------------------------------
*% Custom Features  - HP Dry Time - Values are 2's complement of DEC number
*%-------------------------------------------------------------------------
*Feature: HPDryTime
{
    *rcNameID: =IDS_DRYTIME
    
    *FeatureType: DOC_PROPERTY
    *DefaultOption: DT0
    *Option: DTM15
    {
        *Name: "-15"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PML_DRYTIME_M15
        }
    }
    *Option: DTM10
    {
        *Name: "-10"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PML_DRYTIME_M10
        }
    }
    *Option: DTM5
    {
        *Name: "-5"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PML_DRYTIME_M5
        }
    }
    *Option: DT0
    {
        *Name: "0"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PML_DRYTIME_0
        }
    }
    *Option: DTP5
    {
        *Name: "5"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PML_DRYTIME_P5
        }
    }
    *Option: DTP10
    {
        *Name: "10"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PML_DRYTIME_P10
        }
    }
    *Option: DTP15
    {
        *Name: "15"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PML_DRYTIME_P15
        }
    }
    *Option: DTP20
    {
        *Name: "20"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PML_DRYTIME_P20
        }
    }
    *Option: DTP25
    {
        *Name: "25"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PML_DRYTIME_P25
        }
    }
    *Option: DTP30
    {
        *Name: "30"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *Cmd: =PML_DRYTIME_P30
        }
    }
}

*%-------------------------------------------------------------------------------------------------
*% Custom Features  - Print In Gray Scale (High Quality, Black Only, Optimize for Photocopy or Fax)
*%-------------------------------------------------------------------------------------------------
*Feature: HPPrintInGrayScale
{
    *rcNameID: =IDS_PRINT_IN_GRAYSCALE
    
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: False
    {
        *rcNameID: =IDS_OFF
    }
    *Option: HighQuality
    {
        *rcNameID: =IDS_HIGH_QUALITY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =HPA_PCL_GRAYSCALE_COMMAND_HIGH_QUALITY
        }
    }
    *Option: BlackOnly
    {
        *rcNameID: =IDS_BLACK_INK_ONLY_HK
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: =HPA_PCL_GRAYSCALE_COMMAND_BLACK_ONLY
        }
    }
}


*%-------------------------------------------------------------------------
*% PrintQuality Group Custom feature
*%-------------------------------------------------------------------------
*Feature: PrintQualityGroup
{
     *Name: "PrintQualityGroup"
     
     *FeatureType: DOC_PROPERTY
     *DefaultOption: PQGroup_4

     *Option: PQGroup_3            *%Draft
     {
        *rcNameID: =IDS_DRAFT
     }
     *Option: PQGroup_4            *%FastNormal
     {
        *rcNameID: =IDS_FAST_NORMAL
     }
     *Option: PQGroup_2            *%Normal
     {
        *rcNameID: =IDS_NORMAL
     }
     *Option: PQGroup_1            *%Best
     {
        *rcNameID: =IDS_BEST
     }
     *Option: PQGroup_5            *%4800x1200Optimised DPI
     {
        *rcNameID: =IDS_MAXIMUM_DPI
     }
}


*%-------------------------------------------------------------------------
*% Custom Feature  - Job Accounting and Time Stamp
*%-------------------------------------------------------------------------
*Feature: HPJobAccounting
{
    *Name: "HPJobAccounting"
    *ConcealFromUI?:TRUE
    *FeatureType: DOC_PROPERTY
    *Option: HPJOBACCT_JOBACNT_TIMESTAMP
    {
        *Name: "HPJOBACCT_JOBACNT_TIMESTAMP"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.10
            *CallbackID:1
        }
    }
}

*%-------------------------------------------------------------------------
*% Custom Feature  - Allow Scaling From Larger Paper
*%-------------------------------------------------------------------------
*Feature: ScaleFromLargePaper
{
    *rcNameID: =IDS_LARGE_PAPER_SUPPORT
    
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: Installed
    *Option: NotInstalled
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: Installed
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*%-------------------------------------------------------------------------
*% Custom Features for Color UI Tab
*%-------------------------------------------------------------------------
*Feature: HPColorMode
{
    *Name: "HPColorMode"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: COLOR_MODE
    *Option: COLOR_MODE
    {
        *Name: "Color Mode"
    }
}

*Feature: HPPDLType
{
    *Name: "HPPDLType"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: PDL_PCL3

    *Option: PDL_PCL3
    {
        *Name: "PCL 3"
    }
}
*Feature: HPPJLEncoding
{
    *Name: "HPPJLEncoding"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: 8bitEncoding
    *Option: 8bitEncoding
    {
        *Name: "8bitEncoding"
    }
}

*Feature: HPXMLFileUsed
{
    *Name: "HPXMLFileUsed"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: hpw1200t.xml
    *Option: hpw1200t.xml
    {
        *Name: "hpw1200t.xml"
    }
}

*%-------------------------------------------------------------------------
*% Print Quality feature
*%-------------------------------------------------------------------------

*Feature: PrintQuality
{
    *rcNameID: =PRINT_QUALITY_DISPLAY
    *ConflictPriority: 20
    *FeatureType: DOC_PROPERTY
    *DefaultOption: FastNormal

    *Option: Draft
    {
        *rcNameID: =IDS_DRAFT
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_PQ_ECONO
        }
    }

    *Option: Normal
    {
        *rcNameID: =IDS_NORMAL
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_PQ_NORMAL
        }
    }

    *Option: Best
    {
        *rcNameID: =IDS_BEST
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_PQ_BEST
        }
    }

    *Option: FastNormal
    {
        *rcNameID: =IDS_FAST_NORMAL
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_PQ_FASTNORMAL
        }
    }

    *Option: HighResMode
    {
        *rcNameID: =IDS_MAXIMUM_DPI
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =PCL_PQ_HIGHRES
        }
    }

}

*%-------------------------------------------------------------------------
*% Poster Printing Custom Feature
*%-------------------------------------------------------------------------
*Feature: HPPosterPrinting
{
    *rcNameID: =IDS_POSTER_PRINTING
    
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*Feature: HPPosterPrintingOption
{
    *rcNameID: =IDS_POSTER_PRINTING
    
    *FeatureType: DOC_PROPERTY
    *DefaultOption: POSTER_2

    *Option: POSTER_2
    {
        *rcNameID: =IDS_POSTER_PRINTING_2X2
    }
    *Option: POSTER_3
    {
        *rcNameID: =IDS_POSTER_PRINTING_3X3
    }
    *Option: POSTER_4
    {
        *rcNameID: =IDS_POSTER_PRINTING_4X4
    }
    *Option: POSTER_5
    {
        *rcNameID: =IDS_POSTER_5X5
    }

}


*%-------------------------------------------------------------------------
*% Media Type Treeview Popup Custom Feature For Brangus
*%-------------------------------------------------------------------------
*Feature: HPMediaTypeTreeviewPopup
{
    *Name: "TreeviewPopUP"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }
}



*%-------------------------------------------------------------------------
*%    Color Mode Feature: This should be defined before any switch
*%    using any options of this feature is used
*%-------------------------------------------------------------------------
*Feature: ColorMode
{
    *rcNameID: =IDS_COLOR_PRINTING_MODE             *%=COLOR_PRINTING_MODE_DISPLAY
    
    *DefaultOption: Color24
    *Option: Color24
    {
        *rcNameID: =IDS_24BPP_DISPLAY
        *Color?: TRUE
        *DevNumOfPlanes: 0
        *DevBPP: 0
        *DrvBPP: 24
        *IPCallbackID: 1
        *Command: CmdSendBlockData { *Cmd: "" }
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.50
            *Cmd: =PJL_ENTER_PCL3GUICE
        }
    }
}

*Feature: TextAsBlack
{
    *rcNameID: =IDS_PRINTALLBLACK
    
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}


*%-------------------------------------------------------------------------
*% MediaType
*%-------------------------------------------------------------------------

*Feature: MediaType
{
    *rcNameID: =IDS_MEDIA_TYPE_DISPLAY
    
    *ConflictPriority: 10
    *DefaultOption: PLAIN

    *Option: AUTOMATIC
    {
        *rcNameID: =IDS_AUTOMATIC
        *InsertBlock: =MediaType_Automatic
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: PLAIN
    {
        *%rcNameID: =IDS_MTYPE_MIDAS                     *%PLAIN_PAPER_DISPLAY
        *rcNameID: =IDS_HP_PLAIN_PAPER
        *InsertBlock: =MediaType_PlainPaper
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: HP_BRIGHT_WHITE_INKJET_PAPER
    {
        *rcNameID: =HP_BRIGHT_WHITE_INKJET_PAPER_DISPLAY
        *InsertBlock: =MediaType_HPBrightWhitePaper
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: HP_PREM_INKJET_PAPER
    {
        *rcNameID: =HP_PREMIUM_INKJET_PAPER_DISPLAY
        *InsertBlock: =MediaType_HPPremiumPaper
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option : HP_PREM_INKJET_HEAVY_WEIGHT_PAPER
    {
        *rcNameID: =HP_PREMIUM_INKJET_HEAVYWEIGHT_DISPLAY
        *InsertBlock: =MediaType_HPPremiumInkjetHeavyweightPaper
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: HP_PREM_INKJET_PRESENTATION_PAPER
    {
        *rcNameID: =IDS_MTYPE_HP_PREMIUM_PRESENTATION
        *%Name: "HP Premium Presentation Paper"
        *InsertBlock: =MediaType_HPPremiumPresentationPaper
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: OTHER_INKJET_PAPERS
    {
        *rcNameID: =IDS_OTHER_INKJET_PAPER
        *InsertBlock: =MediaType_OtherInkjetPapers
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option :HP_PREMIUM_INKJET_TRANSPARENCY
    {
        *rcNameID: =IDS_HP_PREMIUM_INKJET_TRANSPARENCY
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_HPPremiumInkjetTransparencyFilm
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option :HP_PREM_PLUS_INKJET_TRANSPARENCY
    {
        *rcNameID: =IDS_HP_PREMIUM_INKJET_RAPIDDRY_TRANS
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_HPPremiumPlusInkjetTransparencyFilm
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: OTHER_TRANSPARENCY_FILMS
    {
        *rcNameID: =IDS_OTHER_TRANSPARENCY_FILM
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_OtherTransparencyFilms
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: HP_PHOTO_PAPER_PROJECT
    {
        *rcNameID: =IDS_MTYPE_HP_PHOTO_PROJECT_PAPER
        *%InsertBlock: =DuplexConstraints
        *%Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_HPPhotoAndProjectPaper
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: HP_EVERYDAY_PHOTO_PAPER_MATTE
    {
        *rcNameID: =IDS_HP_EVERYDAY_PHOTO_PAPER_MATTE_FINISH
        *InsertBlock: =MediaType_HPEverydayPhotoPaperMatte
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: HP_EVERYDAY_PHOTO_PAPER_SEMI_GLOSS
    {
        *rcNameID: =IDS_HP_EVERYDAY_PHOTO_PAPER_SEMI_GLOSS
        *InsertBlock: =MediaType_HPEverydayPhotoPaperSemiGloss
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: HP_COLORFAST_PHOTO_PAPER_GLOSSY
    {
        *rcNameID: =IDS_HP_COLORFAST_PHOTO_PAPER
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_HPColorfastPhotoPaperGlossy
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: HP_PREMIUM_PHOTO_PAPER
    {
        *rcNameID: =IDS_MTYPE_HP_PREMIUM_PHOTO
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_HPPremiumPhotoPaper
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: HP_PREMIUM_PLUS_PHOTO_PAPER
    {
        *rcNameID: =IDS_MTYPE_HP_PREMIUM_PLUS_PHOTO
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_HPPremiumPlusPhotoPaper
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: HP_PHOTO_PAPER_GLOSSY
    {
        *rcNameID: =IDS_HP_PHOTO_PAPER_GLOSSY_DISPLAY
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_HPPhotoPaperGlossy
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: OTHER_PHOTO_PAPER
    {
        *rcNameID: =IDS_OTHER_PHOTO_PAPER
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_OtherPhotoPapers
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: HP_PROFESSIONAL_BROCHURE_GLOSSY
    {
        *rcNameID: =IDS_HP_BROCHURE_FLYER_GLOSSY
        *InsertBlock: =MediaType_HPBrochureAndFlyerGlossy
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: HP_PROFESSIONAL_BROCHURE_MATTE
    {
        *rcNameID: =IDS_HP_BROCHURE_FLYER_MATTE
        *InsertBlock: =MediaType_HPBrochureAndFlyerMatte
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option: OTHER_BROCHURE_PAPERS
    {
        *rcNameID: =IDS_OTHER_BROCHURE_PAPER
        *InsertBlock: =MediaType_OtherBrochurePapers
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option:HP_LINEN_GREETING_CARDS
    {
        *rcNameID: =IDS_HP_LINEN_GREETING_CARDS
        *InsertBlock: =MediaType_HPLinenGreetingCards
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option:HP_TEXTURED_GREETING_CARDS
    {
        *rcNameID: =IDS_HP_TEXTURED_GREETING_CARD
        *InsertBlock: =MediaType_HPTexturedGreetingCards
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option:HP_PHOTO_GREETING_CARDS
    {
        *rcNameID: =IDS_HP_PHOTO_GREETING_CARD_PAPER
        *InsertBlock: =MediaType_HPPhotoGreetingCards
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option:HP_MATTE_GREETING_CARDS
    {
        *rcNameID: =IDS_HP_MATTE_GREETING_CARD_PAPER
        *InsertBlock: =MediaType_HPMatteGreetingCards
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option:OTHER_GREETING_CARDS
    {
        *rcNameID: =IDS_OTHER_GREETING_CARDS
        *InsertBlock: =MediaType_OtherGreetingCards
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option:HP_IRON_ON_TRANSFER
    {
        *rcNameID: =IDS_HP_IRON_ON_TSHIRT_TRANSFERS
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_HPIronOnTransfer
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option:HP_BANNER_PAPER
    {
        *rcNameID: =IDS_HP_BANNER_PAPER
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_HPBannerPaper
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option:HP_LABELS_MATTE
    {
        *rcNameID: =IDS_MTYPE_HP_LABELS_MATTE
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_HPLabelsMatte
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option:HP_LABELS_GLOSSY
    {
        *rcNameID: =IDS_MTYPE_HP_LABELS_GLOSSY
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_HPLabelsGlossy
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
    *Option:OTHER_SPECIALTY_PAPERS
    {
        *rcNameID: =IDS_OTHER_SPECIALTY_PAPER
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =MediaType_OtherSpecialtyPapers
        EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
    }
}



*%---------------------------------------------------------------------------
*% Resolution
*%---------------------------------------------------------------------------

*Feature: Resolution
{
    *rcNameID: =IDS_RESOLUTION_DISPLAY
    *ConflictPriority: 50
    *DefaultOption: 300dpi
    *Option: 300dpi
    {
        *rcNameID: =IDS_300DPI
        *DPI: PAIR(300, 300)
        *TextDPI: PAIR(300, 300)
        *SpotDiameter: 100
        *Constraints: LIST(PrintQuality.Normal,PrintQuality.Best,PrintQuality.HighResMode)
    }
    *Option: 600dpi
    {
        *rcNameID: =IDS_600DPI
        *DPI: PAIR(600, 600)
        *TextDPI: PAIR(600, 600)
        *SpotDiameter: 100
        *Constraints: LIST(PrintQuality.Draft,PrintQuality.FastNormal,PrintQuality.HighResMode)
    }
    *Option: 1200dpi
    {
        *rcNameID: =IDS_1200DPI_TEXT_RENDERING
        *DPI: PAIR(1200, 1200)
        *TextDPI: PAIR(1200, 1200)
        *SpotDiameter: 100
        *Constraints: LIST(PrintQuality.Draft,PrintQuality.FastNormal,PrintQuality.Normal,PrintQuality.Best)
    }
}

*Feature: PQDPI
{
    *Name: "PQDPI"
    *FeatureType : DOC_PROPERTY
    
    *DefaultOption: Installed
    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED

    }
    *Option: Installed
    {
        *rcNameID: =IDS_INSTALLED
    }
}

*%-------------------------------------------------------------------------
*% Mirror Image Commands
*%-------------------------------------------------------------------------

*Feature: HPMirrorPrint
{
    *rcNameID: =IDS_MIRROR_IMAGE_DISPLAY
    
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: True
    {
        *rcNameID: =IDS_ON
    }
    *Option: False
    {
        *rcNameID: =IDS_OFF
    }
}

*%-----------------------------------------------------------
*% Print On Both Sides Options
*%-----------------------------------------------------------
*Feature: HPAutoDuplexScaling
{
    *rcNameID: =IDS_PRINT_ON_BOTH_SIDES_OPTIONS_DISPLAY
    
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True
    *Option: False
    {
        *rcNameID: =IDS_DONOT_REDUCE_CONTENT_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_REDUCE_CONTENT_DISPLAY
    }
}

*%-----------------------------------------------------------
*% Manual Duplex
*%-----------------------------------------------------------
*Feature: ManualDuplex
{
    *rcNameID: =IDS_MANUALDUPLEX
    *FeatureType: PRINTER_PROPERTY
   
    *DefaultOption: True
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}


*%-----------------------------------------------------------
*% Custom feature - HPPrintOnBothSidesManually
*%-----------------------------------------------------------
*Feature: HPPrintOnBothSidesManually
{
    *rcNameID: =IDS_MANUALDUPLEX
    
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False

    *Option: False
    {
       *rcNameID: =IDS_OFF_DISPLAY
       *Command: CmdSelect
       {
           *Order: JOB_SETUP.20
           *CallbackID: =CMDCB_MANUALDUPLEX
       }
    }
    *Option: True
    {
       *rcNameID: =IDS_ON_DISPLAY
       *Command: CmdSelect
       {
           *Order: JOB_SETUP.20
           *CallbackID: =CMDCB_MANUALDUPLEX
       }
    }
}


*%-----------------------------------------------------------
*% Manual Duplex Dialog Item ID
*%-----------------------------------------------------------
*Feature: HPManualDuplexDialogItems
{
    *Name: "HPManualDuplexDialogItems"

    *DefaultOption: InstructionID_01_FACEUP-NOROTATE

    *Option: InstructionID_01_FACEUP-NOROTATE
    {
        *Name:"BitmapID_120_StringID_3138"

    }
    *Option: InstructionID_01_FACEUP-ROTATE
    {
        *Name:"BitmapID_120_StringID_3138"

    }
    *Option: InstructionID_02_FACEUP-NOROTATE
    {
        *Name:"BitmapID_116_StringID_3145"

    }
    *Option: InstructionID_02_FACEUP-ROTATE
    {
        *Name:"BitmapID_123_StringID_3139"

    }
    *Option: InstructionID_03_FACEUP-NOROTATE
    {
        *Name:"BitmapID_109_StringID_3066"
    }
    *Option: InstructionID_03_FACEUP-ROTATE
    {
        *Name:"BitmapID_117_StringID_3140"

    }
}

*%--------------------------------------------------------------------
*% HPManualDuplexPageRotate- UserRotate/DriverRotate
*% UserRotate - If the user has to rotate the paper stack (driver rotation not supported for manual duplex)
*% DriverRotate - If the driver/firmware will rotate the paper stack
*%--------------------------------------------------------------------
*Feature: HPManualDuplexPageRotate
{
    *Name: "HPManualDuplexPageRotate"
    *DefaultOption: UserRotate
    *Option: UserRotate
    {
        *Name: "UserRotate"
    }
}

*%-------------------------------------------------------------
*% ManualFeed Tray Paper Orientation
*%-------------------------------------------------------------
*Feature: HPManualFeedOrientation
{
    *Name: "HPManualFeedOrientation"
    *DefaultOption: FACEUP
    *Option: FACEUP
    {
        *Name:"FACEUP"
    }
}


*%---------------------------------------------------------------------------------------------------
*% HPOutputBinOrientation
*% If the printer has no selectable outputbins, then this feature has only 1 option - FACEUP/FACEDOWN
*% If the printer has selectable outputbins, this feature should have 1 option each for each
*% of the selectable output bins eg Option1-FACEDOWN, Option2-FACEUP
*%---------------------------------------------------------------------------------------------------
*Feature: HPOutputBinOrientation
{
    *Name: "HPOutputBinOrientation"
    *DefaultOption: FACEUP
    *Option: FACEUP
    {
        *Name:"FACEUP"
    }
}

*%-----------------------------------------------------------
*% ManualDuplex Dialog Model - (Modeless / Modal)
*%-----------------------------------------------------------
*Feature: HPManualDuplexDialogModel
{
    *Name: "HPManualDuplexDialogModel"
    *DefaultOption: Modal
    *Option: Modal
    {
        *Name:"Modal"
    }
}

*%-----------------------------------------------------------
*% ManualDuplex Page Order - (EvenPagesFirst / OddPagesFirst)
*%-----------------------------------------------------------
*Feature: HPManualDuplexPageOrder
{
    *Name: "HPManualDuplexPageOrder"
    *DefaultOption: OddPagesFirst
    *Option: OddPagesFirst
    {
        *Name:"OddPagesFirst"
    }
}

*%-----------------------------------------------------------
*% ManualDuplex Mapping - (True / False)
*% Should be True only if the Manual Duplex PJL is sent
*%-----------------------------------------------------------
*Feature: HPMapManualFeedToTray1
{
    *Name: "HPMapManualFeedToTray1"
    *DefaultOption: False
    *Option: False
    {
        *Name:"False"
    }
}

*%-------------------------------------------------------------------------
*% Custom Feature -- PUMP PJL USAGE Command
*%-------------------------------------------------------------------------
*Feature: HPSendPJLUsageCmd
{
    *Name: "HPSendPJLUsageCmd"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: LNNAME_CMLK
    *Option: LNNAME_CMLK
    {
        *Name: "LNNAME_CMLK"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.40
            *CallbackID:10
        }
    }
}

*%--------------------------------------------------------------------------
*% Custom Feature -- Services Tab
*%--------------------------------------------------------------------------
*Feature: PSAlignmentFile
{
    *Name: "PSAlignmentFile"
    *FeatureType: DOC_PROPERTY
    *Option: HPZ3Awn7
    {
        *Name: "HPZ3Awn7"
    }
}
*Feature: PSServicesOption
{
    *Name: "SRVOption"
    *FeatureType: DOC_PROPERTY
    *Option: ServiceFileEnd
    {
        *Name: "ServiceFileEnd"
    }
    *Option: ConfigurationPage
    {
        *Name: ""
    }
	*Option: AutomaticAlign
    {
        *Name: "38"
    }
    *Option: Clean
    {
        *Name: "StringID_248"
    }
}

*Feature: HPCleaningFilesData
{
    *Name: "HPCleaningFilesData"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: HP_Clean_TestPage

    *Option: HP_Clean_TestPage
    {
        *Name:"StringID_419"
    }

    *Option: HP_Clean_L1Clean
    {
        *Name:"StringID_416"
    }

    *Option: HP_Clean_L2Clean
    {
        *Name:"StringID_417"
    }

    *Option: HP_Clean_L3Clean
    {
        *Name:"StringID_418"
    }
}

*%----------------------------------------------------
*% Custom buttom show feature
*%----------------------------------------------------
*Feature: HPConsumerCustomPaper
{
    *Name: "HPCustom"
    *Option: HPCustom
    {
        *Name: ""
    }
}


*%-------------------------------------------------------
*% Custom Features for Doc UI and Printing Help
*%-------------------------------------------------------
*Feature: HPDisplayDocUITab
{
    *Name: "HPDisplayDocUITab"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: True
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY    *%191
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY     *%189
    }
}

*%-------------------------------------------------------

*%----------------------
*%  Colormap Download
*%----------------------

*Feature: HPColorSelectionForHPA
{
     *Name: "HPColorSelectionForHPA"
     *FeatureType: DOC_PROPERTY

     *Option: Enabled
     {
          *rcNameID: =IDS_ENABLED_DISPLAY
          *Command: CmdSelect
          {
              *Order: PAGE_SETUP.22
              *CallbackID:6
          }
     }
}

*% Leveraged from 5550 GPD
*%------------------------------------------------------------------------
*% Custom Features for SmartDuplex
*%------------------------------------------------------------------------
*Feature: HPSmartDuplexSinglePageJob
{
    *Name: "HPSmartDuplexSinglePageJob"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }
}

*Feature: HPSmartDuplexOddPageJob
{
    *Name: "HPSmartDuplexOddPageJob"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: False
    {
        *Name: "False"
    }
}


*%------------------------------------------------------------------------
*% Custom Features for BornOnDate
*%------------------------------------------------------------------------
*Feature: HPBornOnDate
{
    *Name: "HPBornOnDate"
    *ConcealFromUI?:TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: HPBOD
    *Option: HPBOD
    {
        *Name: "HPBOD"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.5
            *CallbackID:3
        }
    }
}



*%------------------------------------------------------------------------
*% Resource Manager DLL
*%------------------------------------------------------------------------
*Feature: =HPRES_DLLNAME
{
    *Name: "Img"
    *Option: =HPRES_DLLNAME_DEFAULT
    {
        *Name: ""
    }
}


*%-----------------------------------------------------------------------------
*% HPPrintInSepia
*%-----------------------------------------------------------------------------
*Feature: HPPrintInSepia
{
    *Name: "HPPrintinSepia"
    *DefaultOption: OFF
    *Option: OFF
    {
        *rcNameID: =IDS_OFF_DISPLAY
    }
    *Option: ON
    {
        *rcNameID: =IDS_ON_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>*o5W<0B 02 00 00 01>"
        }
    }
}



*%----------------------Ink Convergence Features---------------------------------------


*Feature: HPJpegPngPassthrough
{
    *Name: "JPEG/PNG Pass-through Enabled"
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }
}


*%------------------------------------------------------------------------
*% Image Processing DLL
*%------------------------------------------------------------------------


*Feature: =HPHT_DLLNAME
{
    *Name: "Img"
    *Option: =HPHT_DLLNAME_DEFAULT
    {
        *Name: ""
    }
}

*%------------------------------------------------------------------------
*% Matter Horn DLL
*%------------------------------------------------------------------------
*Feature: =HPMH_DLLNAME
{
    *Name: "Img"
    *Option: =HPMH_DLLNAME_DEFAULT
    {
        *Name: ""
    }
}

*Feature: HPHPAFilter
{
    *Name: "HPA Filtering Enabled"
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }
}

*%-----------------------------------------------------------
*% Band Filter Pipeline Support
*%-----------------------------------------------------------



*%-----------------------------------------------------------
*% Oceania Status Components
*%-----------------------------------------------------------

*Feature: HPInstalledPrintCartridges
{
    *Name: "HPInstalledPrintCartridges"
    *%FeatureType: PRINTER_PROPERTY
    *DefaultOption: TRICOLOR
    *Option: TRICOLOR
    {
        *rcNameID: =IDS_TRI_COLOR
    }
    *Option: BLACK
    {
        *rcNameID: =IDS_TRI_COLOR_BLACK
    }
    *Option: PHOTO
    {
        *rcNameID: =IDS_TRI_COLOR_PHOTO
    }
    *Option: PHOTOGRAY
    {
        *rcNameID: =IDS_TRI_COLOR_GRAY_PHOTO
    }
    *Option: PHOTOBLACK
    {
        *rcNameID: =IDS_TRI_COLOR_PHOTO_BLACK
    }
    *Option: PHOTOPHOTOGRAY
    {
        *rcNameID: =IDS_TRI_COLOR_PHOTO_GRAY_PHOTO
    }
}

*%-------------------------------------------------------------------------
*% Color Management
*%-------------------------------------------------------------------------
*Feature: HPInputColorSpace
{
    *Name: "HPInputColorSpace"
    *DefaultOption: COLORSMART
    *Option: COLORSMART
    {
        *rcNameID: =IDS_COLORSMART_SRGB
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.50
            *Cmd: =PCL_COLORSPACE_SRGB
        }
    }
}
*Feature: HPDriverData
{
    *Name: "HPDriverData"
    *Option: DriverData
    {
        *Name: "DriverData"
    }
    *Option: SerialNumber
    {
        *Name: "SerialNumber"
    }
    *Option: HPNameEnd
    {
        *Name: "HPNameEnd"
    }
}
*Feature: HPAdvancedColorSetting
{
    *Name: "HPAdvancedColorSetting"
    
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }

    *Option: Brightness
    {
        *Name: ""
    }
    *Option: Saturation
    {
        *Name: ""
    }
    *Option: ColorTone
    {
        *Name: ""
    }
}

*Feature: HPICCPrinterFamily
{
    *Name: "HPICCPrinterFamily"
    *Option: 5700_6500
    {
        *Name: ""
    }
}

*Feature: HPSendUnitMeasureCommand
{
    *Name: "HPSendUnitMeasureCommand"
    *DefaultOption: TRUE
    *Option: TRUE
    {
        *Name: ""
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.35
            *CallbackID: 21
        }
    }
}



*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*% CRD command
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

*Feature: HPCRDCommand
{
    *Name: "HPCRDCommand"
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.5
            *CallbackID:15
        }
    }
}


*%--------------------------------------------------------------------------
*% Constraints for Input Bin, Paper Size and Media Type.
*%--------------------------------------------------------------------------
*InvalidCombination: LIST(Tray2.NotInstalled,InputBin.Tray2)

*InvalidCombination: LIST(InputBin.Tray2,PaperSize.STATEMENT)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.A5)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.ENV_10)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.ENV_A2)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.ENV_MONARCH)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.ENV_DL)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.ENV_C5)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.ENV_C6)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.HP_GREETING_CARD_ENV)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.INDEX_3x5)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.INDEX_4x6)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.INDEX_5x8)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.PHOTO_4X6_IN_WT)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.A6)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.HP_BANNER_LETTER)
*InvalidCombination: LIST(InputBin.Tray2,PaperSize.HP_BANNER_A4)

*%-------------------------------------------------------------------------
*% Job setup commands
*%-------------------------------------------------------------------------

*Command: CmdStartJob
{
    *Order: JOB_SETUP.1
    *Cmd: =PJL_EXIT_LANGUAGE
}

*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: =PJL_EXIT_LANGUAGE"@PJL EOJ<0A>"=PJL_EXIT_LANGUAGE
}

*%-------------------------------------------------------------------------
*% Doc setup commands
*%-------------------------------------------------------------------------
*%%
*%% Printer Configuration Commands
*%%

*%% LIDIL PPA printers does not required these commands .. Not sure yet..


*Command: CmdStartDoc
{
    *Order: DOC_SETUP.10
    *Cmd: ""
}

*Command: CmdEndDoc
{
    *Order: DOC_FINISH.10
    *Cmd: ""
}


*Command: CmdStartPage
{
    *Order: PAGE_SETUP.60
    *Cmd: ""
}
*Command: CmdEndPage
{
    *Order: PAGE_FINISH.8
    *Cmd: "<1B>*rC<0C>"
}



*%---------------------------------------------------------------------------
*%% Printing Attributes and Commands
*%---------------------------------------------------------------------------
*RotateCoordinate?: TRUE
*RotateRaster?: FALSE

*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 600
*YMoveUnit: 600
*Command: CmdCR { *Cmd: "<0D>" }
*Command: CmdLF { *Cmd: "<0A>" }
*Command: CmdFF { *Cmd: "<0C>" }

*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT


*Command: CmdSendBlackData     { *Cmd : "" }
*Command: CmdSendCyanData      { *Cmd : "" }
*Command: CmdSendMagentaData   { *Cmd : "" }
*Command: CmdSendYellowData    { *Cmd : "" }
*Command: CmdSendBlockData     { *Cmd : "" }




*InvalidCombination: LIST(PaperSize.ENV_10, HPPosterPrinting.True)
*InvalidCombination: LIST(PaperSize.ENV_A2, HPPosterPrinting.True)
*InvalidCombination: LIST(PaperSize.ENV_MONARCH, HPPosterPrinting.True)
*InvalidCombination: LIST(PaperSize.ENV_DL, HPPosterPrinting.True)
*InvalidCombination: LIST(PaperSize.ENV_C5, HPPosterPrinting.True)
*InvalidCombination: LIST(PaperSize.ENV_C6, HPPosterPrinting.True)
*InvalidCombination: LIST(PaperSize.HP_GREETING_CARD_ENV, HPPosterPrinting.True)